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
This commit is contained in:
James Le Cuirot
2016-04-04 22:43:28 +01:00
parent 444be19304
commit c7e010feac
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST hawtjni-project-1.11.tar.gz 1603735 SHA256 4f8665931329effd0d0b3444e20d2c5d72b01640da2f180f05f26e79f0692fed SHA512 0fafe29dd058eee07e9c26179b7605cc092254199ccb913064002c882e7ab55ecc4045dd2baab99bbc46d6bf28a9f4f2108c210616e3a9c4a92582c65e6de4e4 WHIRLPOOL 60bdab794130fa85aa2b27da0bb6d1684793b45575425dcc06e413426652703b673a1c735c3c4c5c12056bbc2005316c00d13cc9c46ff362579b172a564ddccb

View File

@@ -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
}

View File

@@ -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>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<upstream>
<remote-id type="github">fusesource/hawtjni</remote-id>
</upstream>
</pkgmetadata>