dev-java/metainf-services: eapi8, min java 1.8

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2022-02-21 10:16:43 +01:00
parent 8ee26cb6db
commit e19c6cb57b
@@ -0,0 +1,28 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit java-pkg-2 java-ant-2
DESCRIPTION="Generates META-INF/services files automatically"
HOMEPAGE="http://metainf-services.kohsuke.org/"
SRC_URI="https://github.com/kohsuke/${PN}/archive/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=virtual/jre-1.8:*"
DEPEND=">=virtual/jdk-1.8:*"
S="${WORKDIR}/${PN}-${P}"
src_prepare() {
default
cp "${FILESDIR}"/${P}-build.xml build.xml || die
}
src_install() {
java-pkg_newjar target/${P}.jar
}