aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-06-18 00:01:29 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-06-26 04:29:42 +0200
commitdf2572ea9bce6976a75fd85f1fc393d0d7f3138c (patch)
treeacf87748862eea4d5eb31c77e5663575185776f3 /dev-java
parentdev-python/pytest-harvest: add 1.10.4 (diff)
downloadguru-df2572ea9bce6976a75fd85f1fc393d0d7f3138c.tar.gz
guru-df2572ea9bce6976a75fd85f1fc393d0d7f3138c.tar.bz2
guru-df2572ea9bce6976a75fd85f1fc393d0d7f3138c.zip
dev-java/jcuber: new package, add 4.7
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jcuber/Manifest1
-rw-r--r--dev-java/jcuber/jcuber-4.7.ebuild49
-rw-r--r--dev-java/jcuber/metadata.xml8
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-java/jcuber/Manifest b/dev-java/jcuber/Manifest
new file mode 100644
index 000000000..2af2680c6
--- /dev/null
+++ b/dev-java/jcuber/Manifest
@@ -0,0 +1 @@
+DIST jcuber-4.7.tar.gz 554300 BLAKE2B 308a111a24e667804e83237fbdfa30a648029edc9d4fb005ebf76c6199d910f5fedfee7e45c1d118f39aaaa39d557cb48e956e009eeb3e94d4fb6ae700dac845 SHA512 c60874292887e949d35e36a676fdcf05027e9af02b2ce62ab2611a2caa408feca297087207a814010f760171f30ff4058b9816643fc54331ba8621e166a3e767
diff --git a/dev-java/jcuber/jcuber-4.7.ebuild b/dev-java/jcuber/jcuber-4.7.ebuild
new file mode 100644
index 000000000..5b2c0cab0
--- /dev/null
+++ b/dev-java/jcuber/jcuber-4.7.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java reader library"
+HOMEPAGE="https://www.scalasca.org/scalasca/software/cube-4.x/download.html"
+SRC_URI="http://apps.fz-juelich.de/scalasca/releases/cube/${PV}/dist/${P}.tar.gz"
+S="${WORKDIR}/${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+CDEPEND="dev-java/xerces:2"
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.8:*
+"
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.8:*
+"
+
+src_prepare() {
+ java-pkg_clean
+ default
+ pushd build-frontend || die
+ java-pkg_jar-from xerces-2
+ popd || die
+ eautoreconf
+}
+
+src_configure() {
+ econf
+}
+
+src_compile() {
+ MAKEOPTS="-j1" emake
+}
+
+src_install() {
+ DESTDIR="${D}" emake install
+ mv "${ED}/usr/share/doc/${PN}/example" "${ED}/usr/share/doc/${PF}/examples" || die
+ java-pkg_dojar "${ED}/usr/share/java/CubeReader.jar"
+ rm -r "${ED}/usr/share/java/CubeReader.jar" || die
+}
diff --git a/dev-java/jcuber/metadata.xml b/dev-java/jcuber/metadata.xml
new file mode 100644
index 000000000..067d40ebd
--- /dev/null
+++ b/dev-java/jcuber/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+</pkgmetadata>