commit:     c7e010feac692c8eed36742bb1df1e17273ad590
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  4 21:43:28 2016 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 21:45:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e010fe

dev-java/maven-hawtjni-plugin: New package, resources only

We currently don't use Maven in ebuilds and we haven't found the need
to build the many plugins. This one has useful resource files for
building netty-tcnative and potentially other native libraries.

Package-Manager: portage-2.2.28

 dev-java/maven-hawtjni-plugin/Manifest             |  1 +
 .../maven-hawtjni-plugin-1.11.ebuild               | 30 ++++++++++++++++++++++
 dev-java/maven-hawtjni-plugin/metadata.xml         | 11 ++++++++
 3 files changed, 42 insertions(+)

diff --git a/dev-java/maven-hawtjni-plugin/Manifest 
b/dev-java/maven-hawtjni-plugin/Manifest
new file mode 100644
index 0000000..4575b62
--- /dev/null
+++ b/dev-java/maven-hawtjni-plugin/Manifest
@@ -0,0 +1 @@
+DIST hawtjni-project-1.11.tar.gz 1603735 SHA256 
4f8665931329effd0d0b3444e20d2c5d72b01640da2f180f05f26e79f0692fed SHA512 
0fafe29dd058eee07e9c26179b7605cc092254199ccb913064002c882e7ab55ecc4045dd2baab99bbc46d6bf28a9f4f2108c210616e3a9c4a92582c65e6de4e4
 WHIRLPOOL 
60bdab794130fa85aa2b27da0bb6d1684793b45575425dcc06e413426652703b673a1c735c3c4c5c12056bbc2005316c00d13cc9c46ff362579b172a564ddccb

diff --git a/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.11.ebuild 
b/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.11.ebuild
new file mode 100644
index 0000000..f614eaf
--- /dev/null
+++ b/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.11.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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.7"
+RDEPEND=">=virtual/jre-1.7"
+
+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
+}

diff --git a/dev-java/maven-hawtjni-plugin/metadata.xml 
b/dev-java/maven-hawtjni-plugin/metadata.xml
new file mode 100644
index 0000000..6208a5a
--- /dev/null
+++ b/dev-java/maven-hawtjni-plugin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Java</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">fusesource/hawtjni</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to