dev-java/jrrd: EAPI 6 bump.

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
This commit is contained in:
Patrice Clement
2019-04-01 16:31:54 +02:00
parent fa55b6cff3
commit 322c0db222
2 changed files with 47 additions and 4 deletions
@@ -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:
+45
View File
@@ -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
}