forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-java/upnplib: New package, needed by games-strategy/triplea
Package-Manager: portage-2.3.1
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST upnplib-1.0.7.tar.gz 349943 SHA256 e037070708f31401a579b9f5fa27e51d76ae9e09dbcbdf0f07492f40485eb5b4 SHA512 b44d1f539ebf2ff3860f3d3fd664343148c81437a6e3fb69f2941c6dafcdf9a48a1f682d8ed250848edc656dc38858cf3a630dc026e9e3be340ef5b39fd7b8cd WHIRLPOOL 0daa1991997f853170777dfd6997a1991a196c14c7a882b5a87b7d2519a1ce8b99b52642a79b7bd404e911735851db7fc3e4ff715b3351e2a950efe2be1d1385 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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">RPTools/upnplib</remote-id> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |