summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-04-01 16:29:55 +0200
committerPatrice Clement <monsieurp@gentoo.org>2019-04-01 16:31:54 +0200
commit322c0db2227272e7a5aa66e91037b64d5fa2cde1 (patch)
tree4b2e4229a361b163e15693d7fc679f453e6534f0 /dev-java
parentnet-analyzer/sflowtool: Old (diff)
downloadgentoo-322c0db2227272e7a5aa66e91037b64d5fa2cde1.tar.gz
gentoo-322c0db2227272e7a5aa66e91037b64d5fa2cde1.tar.bz2
gentoo-322c0db2227272e7a5aa66e91037b64d5fa2cde1.zip
dev-java/jrrd: EAPI 6 bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jrrd/files/jrrd-1.0.1-javacflags.patch (renamed from dev-java/jrrd/files/1.0.1-javacflags.patch)6
-rw-r--r--dev-java/jrrd/jrrd-1.0.1-r2.ebuild45
2 files changed, 47 insertions, 4 deletions
diff --git a/dev-java/jrrd/files/1.0.1-javacflags.patch b/dev-java/jrrd/files/jrrd-1.0.1-javacflags.patch
index 26bd523fc7ac..b211ec1f3cbe 100644
--- a/dev-java/jrrd/files/1.0.1-javacflags.patch
+++ b/dev-java/jrrd/files/jrrd-1.0.1-javacflags.patch
@@ -1,7 +1,5 @@
-Index: Makefile.am
-===================================================================
---- Makefile.am (revision 7413)
-+++ Makefile.am (working copy)
+--- a/Makefile.am (revision 7413)
++++ b/Makefile.am (working copy)
@@ -15,7 +15,7 @@
.java.class:
diff --git a/dev-java/jrrd/jrrd-1.0.1-r2.ebuild b/dev-java/jrrd/jrrd-1.0.1-r2.ebuild
new file mode 100644
index 000000000000..d9c33b6ec25a
--- /dev/null
+++ b/dev-java/jrrd/jrrd-1.0.1-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit autotools java-pkg-2
+
+DESCRIPTION="Java Interface to Tobias Oetiker's RRDtool"
+
+SRC_URI="mirror://sourceforge/opennms/${P}.tar.gz"
+HOMEPAGE="http://www.opennms.org/"
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+
+SLOT="0"
+
+CDEPEND="net-analyzer/rrdtool"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+PATCHES=( "${FILESDIR}/${P}-javacflags.patch" )
+
+src_configure() {
+ econf
+}
+
+src_compile(){
+ emake -j1
+ use doc && ejavadoc -d javadoc $(find org -name "*.java")
+}
+
+src_install() {
+ java-pkg_newjar "${S}/${PN}.jar"
+ java-pkg_doso .libs/*.so
+ use source && java-pkg_dosrc org
+ use doc && java-pkg_dojavadoc javadoc
+}