diff options
author | 2018-08-10 22:42:17 +0100 | |
---|---|---|
committer | 2018-08-10 22:44:11 +0100 | |
commit | 2c737f976087da4a56e36a8fae2b2476d8be7903 (patch) | |
tree | 04f543be7530ca5e1e953aa8b2947112bc75d68f /dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild | |
parent | dev-python/openpyxl: remove old and vulnerable (diff) | |
download | gentoo-2c737f976087da4a56e36a8fae2b2476d8be7903.tar.gz gentoo-2c737f976087da4a56e36a8fae2b2476d8be7903.tar.bz2 gentoo-2c737f976087da4a56e36a8fae2b2476d8be7903.zip |
dev-java/maven-hawtjni-plugin: Version bump to 1.15, EAPI 6
Package-Manager: Portage-2.3.45, Repoman-2.3.10
Diffstat (limited to 'dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild')
-rw-r--r-- | dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild b/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild new file mode 100644 index 000000000000..4a5d1926aec1 --- /dev/null +++ b/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit java-pkg-2 + +MY_P="hawtjni-project-${PV}" + +DESCRIPTION="Maven plugin for the HawtJNI code generator (resources only)" +HOMEPAGE="https://github.com/fusesource/hawtjni" +SRC_URI="https://github.com/fusesource/hawtjni/archive/${MY_P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=virtual/jdk-1.8" +RDEPEND=">=virtual/jre-1.8" + +S="${WORKDIR}/hawtjni-${MY_P}/${PN}" + +src_compile() { + touch ${PN}.jar || die # jar won't create on update. + java-pkg_addres ${PN}.jar src/main/resources +} + +src_install() { + java-pkg_dojar ${PN}.jar +} |