summaryrefslogtreecommitdiff
path: root/dev-java/jrrd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jrrd
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jrrd')
-rw-r--r--dev-java/jrrd/Manifest6
-rw-r--r--dev-java/jrrd/files/1.0.1-javacflags.patch13
-rw-r--r--dev-java/jrrd/jrrd-1.0.1-r1.ebuild47
-rw-r--r--dev-java/jrrd/metadata.xml14
4 files changed, 80 insertions, 0 deletions
diff --git a/dev-java/jrrd/Manifest b/dev-java/jrrd/Manifest
new file mode 100644
index 000000000000..6e068f2c66ca
--- /dev/null
+++ b/dev-java/jrrd/Manifest
@@ -0,0 +1,6 @@
+AUX 1.0.1-javacflags.patch 346 SHA256 7080c843e1facc232d03984872a12a4df5fcc87deaafd5716bd73414c2cc3413 SHA512 4c7383d1e55bdb56657cfd3de944ba1e18fe299d90b4493ccf9708abbaa0d4fa141215170c2bd9bf0f71002124a8221d5af657cd9c28817971801349be71ffc2 WHIRLPOOL fbdaa6ba9aa8bb03e96b60faac9b4bbade37abc28c38eed2d87b5b63dad5d50a9e6f634f0c57dbb6e6380136c9a6e604af9e2ea66f4f9415254a9ba8cc38c477
+DIST jrrd-1.0.1.tar.gz 320476 SHA256 ec209fc07b5cd776c96e4e2bab817ed7158279e3e0fbec20642b89f95e5d1728 SHA512 f794f052af32544e17d5aef58c7acb068f442c85e991d7f11c25119d94edb4aebb75f744df53caa64f4fd1e9f900f9018a82790a77dcac48e071b13833a8cced WHIRLPOOL 646dea281471da5b5b96878fa9c331d2010b24faadc0baa9cf0749a42fb2f35a16c2404c6f3d2662b531827fdde4ceb59348b752a25807c45244a69a750b1f21
+EBUILD jrrd-1.0.1-r1.ebuild 952 SHA256 8d47e29185a5e0082b74bf0570287cb4e1323a5087c702f9d2a39f934983741f SHA512 da8616863627bd08c5e7faad5def20f419b14a3028c50d56c01583947b926356f24c030644ff3ad9a6461a974a6879b2d7fe78a0342b4dd2acdfbb3df3531507 WHIRLPOOL a26f562038975b1aa80ea74c33ea61865350c7377a3077f25e057e3dd3fcf62995ff44bb314c461204ee99d05408a116ed4e90a7e26e890740ceee37c7594920
+MISC ChangeLog 2455 SHA256 40a6a1e00e148027bc715953d58fa1ef5fbeea90165b99ee46f917b316ed2807 SHA512 cf08d7ce5c8dc8dbb4d3e65b2adf46370a60c9987150e56c480bb07011094448abbc2c860e62797e1ad1db86696b714e256673aeed18570528c34b80981acf8e WHIRLPOOL a241fc2517e91a919d5178440691e9e1414483c41157d99cb45320c12a99050ffaec4ccbf90229816f21bcdddf865ee2adc309db2400584bed055d71fa84dac1
+MISC ChangeLog-2015 1354 SHA256 d23d9a008311c09b7082ddb03bca64b065295c840baa9b0db46447ff92b54b7e SHA512 0a3eb66c762846c85137b9ab1137bf9dfd0dc0e43b1f10835e85340d44b872f32f277f4eda2f1bc724d1563541b3109218de486391711c61b9784406144c1ddd WHIRLPOOL 7f910e15464355812271930f0670da20221087ba08ca1a0c7c0580beddcec90d545efc2158a440def11bd01881e906566bb22183af934401c3d5356bb236240a
+MISC metadata.xml 396 SHA256 3eaee5d8e6165ba5a0c07873fedd03e8a57776d73b4ae4e0ff99e5c02d7b13e8 SHA512 4d701ce0342203d158d1fdb3d00d1c2f0fcdaf7a5f891584be4cb33e2b3ceeac22a25b780410c9be7c1c4c3a1f4494561a2dddaf37981b68b23911d55ae1f26c WHIRLPOOL 38a182cb7d02f6888b2a5d14949b81cadd6b14071a381375d09576c1b32c6d0b36cf9917abab6d4c7632203d3aaeba559ebecffe691c485226a66712bf59a765
diff --git a/dev-java/jrrd/files/1.0.1-javacflags.patch b/dev-java/jrrd/files/1.0.1-javacflags.patch
new file mode 100644
index 000000000000..26bd523fc7ac
--- /dev/null
+++ b/dev-java/jrrd/files/1.0.1-javacflags.patch
@@ -0,0 +1,13 @@
+Index: Makefile.am
+===================================================================
+--- Makefile.am (revision 7413)
++++ Makefile.am (working copy)
+@@ -15,7 +15,7 @@
+
+ .java.class:
+ -mkdir -p $(classdir)
+- $(JAVAC) -d $(classdir) $<
++ $(JAVAC) $(JAVACFLAGS) -d $(classdir) $<
+
+ rrd_jinterface.c: org_opennms_netmgt_rrd_rrdtool_Interface.h
+
diff --git a/dev-java/jrrd/jrrd-1.0.1-r1.ebuild b/dev-java/jrrd/jrrd-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..c454c5dbb3d4
--- /dev/null
+++ b/dev-java/jrrd/jrrd-1.0.1-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+JAVA_PKG_IUSE="doc source"
+WANT_AUTOMAKE="1.9"
+
+inherit eutils autotools base 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"
+
+COMMON_DEP="net-analyzer/rrdtool"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}"
+
+PATCHES=( "${FILESDIR}/1.0.1-javacflags.patch" )
+
+src_unpack() {
+ base_src_unpack
+ cd "${S}"
+ # Running autoconf would require some RPM macros
+ eautomake
+}
+
+src_compile(){
+ base_src_compile
+ if use doc; then
+ javadoc -d javadoc $(find org -name "*.java") || die "javadoc failed"
+ fi
+}
+
+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
+}
diff --git a/dev-java/jrrd/metadata.xml b/dev-java/jrrd/metadata.xml
new file mode 100644
index 000000000000..4b68e08c8e01
--- /dev/null
+++ b/dev-java/jrrd/metadata.xml
@@ -0,0 +1,14 @@
+<?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>
+ <longdescription>
+ Java Interface to Tobias Oetiker's RRDtool
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">opennms</remote-id>
+ </upstream>
+</pkgmetadata>