summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-08-10 22:42:17 +0100
committerJames Le Cuirot <chewi@gentoo.org>2018-08-10 22:44:11 +0100
commit2c737f976087da4a56e36a8fae2b2476d8be7903 (patch)
tree04f543be7530ca5e1e953aa8b2947112bc75d68f /dev-java
parentdev-python/openpyxl: remove old and vulnerable (diff)
downloadgentoo-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')
-rw-r--r--dev-java/maven-hawtjni-plugin/Manifest1
-rw-r--r--dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-java/maven-hawtjni-plugin/Manifest b/dev-java/maven-hawtjni-plugin/Manifest
index 5bb59a370459..35652466a086 100644
--- a/dev-java/maven-hawtjni-plugin/Manifest
+++ b/dev-java/maven-hawtjni-plugin/Manifest
@@ -1 +1,2 @@
DIST hawtjni-project-1.11.tar.gz 1603735 BLAKE2B 1ef2986ce40e6cadf7256699e1b1527a39e85672f02602855804e1bbf9b7d915bd683abef5f30b99ed7edc56eef4cafaa6e75698fa45b0b64491ef8309d51387 SHA512 0fafe29dd058eee07e9c26179b7605cc092254199ccb913064002c882e7ab55ecc4045dd2baab99bbc46d6bf28a9f4f2108c210616e3a9c4a92582c65e6de4e4
+DIST hawtjni-project-1.15.tar.gz 1606236 BLAKE2B 52357dbefde43ec82cf218ada90642d118ebaa6a6be173cc1f4f48377fda95b902f0a90dfb60822c02c144b9bf13d0800c94d67cc2f9c76e607bbbb80a80898e SHA512 1a93658bf8621c770cf97b546c6a5c0cf1821b06cb16dbc872ad0c830c599d3947ffe56b4cca16217a510d4e929ebcfc5eabdf4ad4364f5225b53d22c7d48abb
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
+}