summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-04-24 13:28:01 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-04-24 13:28:08 +0200
commit117529df80c2ee6d93caf642ac1c1d055d00a224 (patch)
tree2db32b03acaa4852c9180d00b813e1977d54d841 /dev-java/jrobin
parentdev-ml/ppx_fields_conv: 0.15.0 bump (diff)
downloadgentoo-117529df80c2ee6d93caf642ac1c1d055d00a224.tar.gz
gentoo-117529df80c2ee6d93caf642ac1c1d055d00a224.tar.bz2
gentoo-117529df80c2ee6d93caf642ac1c1d055d00a224.zip
dev-java/jrobin: removed obsolete 1.6.0-r1
Bug: https://bugs.gentoo.org/840275 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jrobin')
-rw-r--r--dev-java/jrobin/jrobin-1.6.0-r1.ebuild65
1 files changed, 0 insertions, 65 deletions
diff --git a/dev-java/jrobin/jrobin-1.6.0-r1.ebuild b/dev-java/jrobin/jrobin-1.6.0-r1.ebuild
deleted file mode 100644
index 3b819e8ef465..000000000000
--- a/dev-java/jrobin/jrobin-1.6.0-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="JRobin is a 100% pure Java alternative to RRDTool"
-HOMEPAGE="http://www.jrobin.org/"
-SRC_URI="https://github.com/OpenNMS/${PN}/archive/${P}-1.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=virtual/jre-1.6"
-DEPEND=">=virtual/jdk-1.6
- test? ( dev-java/asm:4
- >=dev-java/cglib-3.1:3
- dev-java/easymock:3.2
- dev-java/junit:4
- dev-java/objenesis:0 )"
-
-S="${WORKDIR}/${PN}-${P}-1/src"
-JAVA_SRC_DIR="main/java"
-
-java_prepare() {
- find "${WORKDIR}" -name "*.jar" -delete || die
-
- # The tests need the resources in this directory for some reason.
- mkdir -p test/java/target/classes || die
- cd test/java/target/classes || die
- ln -snf ../../../../main/resources/* . || die
-}
-
-src_compile() {
- java-pkg-simple_src_compile
- jar uf "${PN}.jar" -C main/resources . || die
-}
-
-src_install() {
- java-pkg-simple_src_install
- java-pkg_dolauncher "${PN}-rrdtool" --main org.jrobin.cmd.RrdCommander
-}
-
-src_test() {
- cd test/java || die
-
- local CP=".:${S}/${PN}.jar:$(java-pkg_getjars asm-4,cglib-3,easymock-3.2,junit-4,objenesis)"
- local TESTS=$(find * -name "*Test.java")
- TESTS="${TESTS//.java}"
- TESTS="${TESTS//\//.}"
-
- ejavac -cp "${CP}" -d . $(find * -name "*.java")
- ejunit4 -classpath "${CP}" ${TESTS}
-}
-
-pkg_postinst() {
- elog "The rrdtool executable has been installed as ${PN}-rrdtool to"
- elog "avoid conflicting with net-analyzer/rrdtool."
-}