diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-10-11 23:18:39 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-10-11 23:29:35 +0100 |
commit | 92bb0b3208ea521591c61d2ad6af2a33c707ebae (patch) | |
tree | 34f968480c4390d4ddf46beec7039a972f4c63c7 /dev-java | |
parent | php-ext-source-r3.eclass: Add src_test function (diff) | |
download | gentoo-92bb0b3208ea521591c61d2ad6af2a33c707ebae.tar.gz gentoo-92bb0b3208ea521591c61d2ad6af2a33c707ebae.tar.bz2 gentoo-92bb0b3208ea521591c61d2ad6af2a33c707ebae.zip |
dev-java/upnplib: New package, needed by games-strategy/triplea
Package-Manager: portage-2.3.1
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/upnplib/Manifest | 1 | ||||
-rw-r--r-- | dev-java/upnplib/metadata.xml | 11 | ||||
-rw-r--r-- | dev-java/upnplib/upnplib-1.0.7.ebuild | 41 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-java/upnplib/Manifest b/dev-java/upnplib/Manifest new file mode 100644 index 000000000000..27b189acf55c --- /dev/null +++ b/dev-java/upnplib/Manifest @@ -0,0 +1 @@ +DIST upnplib-1.0.7.tar.gz 349943 SHA256 e037070708f31401a579b9f5fa27e51d76ae9e09dbcbdf0f07492f40485eb5b4 SHA512 b44d1f539ebf2ff3860f3d3fd664343148c81437a6e3fb69f2941c6dafcdf9a48a1f682d8ed250848edc656dc38858cf3a630dc026e9e3be340ef5b39fd7b8cd WHIRLPOOL 0daa1991997f853170777dfd6997a1991a196c14c7a882b5a87b7d2519a1ce8b99b52642a79b7bd404e911735851db7fc3e4ff715b3351e2a950efe2be1d1385 diff --git a/dev-java/upnplib/metadata.xml b/dev-java/upnplib/metadata.xml new file mode 100644 index 000000000000..1dd6ecadb95d --- /dev/null +++ b/dev-java/upnplib/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>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="github">RPTools/upnplib</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/upnplib/upnplib-1.0.7.ebuild b/dev-java/upnplib/upnplib-1.0.7.ebuild new file mode 100644 index 000000000000..634f001db06a --- /dev/null +++ b/dev-java/upnplib/upnplib-1.0.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +COMMIT="33d17845e34c7c8b897224d0d1c243951398f853" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="UPnP port mapping library for Java based on sbbi-upnplib" +HOMEPAGE="https://github.com/RPTools/upnplib" +SRC_URI="https://github.com/RPTools/upnplib/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CDEPEND="dev-java/commons-jxpath:0 + dev-java/log4j:0" + +RDEPEND=">=virtual/jre-1.7 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.7 + ${CDEPEND}" + +JAVA_GENTOO_CLASSPATH="commons-jxpath,log4j" +JAVA_SRC_DIR="src" + +S="${WORKDIR}/${PN}-${COMMIT}" + +java_prepare() { + # mx4j has been last-rited. + rm -rv src/net/sbbi/upnp/jmx/ || die +} + +src_install() { + java-pkg-simple_src_install + use doc && dodoc README.md docs/html/*.pdf +} |