aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2015-04-03 13:47:33 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2015-04-03 13:47:33 -0400
commitea46f7f8050b73658746463bb42b59d5ea2c127c (patch)
tree0b105414fa0a1346d4866c6723f26aae5b02b9d9
parentsci-biology/exonerate-gff3: Move live ebuild to 9999 (diff)
downloadsci-ea46f7f8050b73658746463bb42b59d5ea2c127c.tar.gz
sci-ea46f7f8050b73658746463bb42b59d5ea2c127c.tar.bz2
sci-ea46f7f8050b73658746463bb42b59d5ea2c127c.zip
dev-java/gluegen: version bump
Package-Manager: portage-2.2.18
-rw-r--r--dev-java/gluegen/ChangeLog8
-rw-r--r--dev-java/gluegen/Manifest1
-rw-r--r--dev-java/gluegen/gluegen-2.2.4.ebuild92
3 files changed, 100 insertions, 1 deletions
diff --git a/dev-java/gluegen/ChangeLog b/dev-java/gluegen/ChangeLog
index df8ea936c..c8a71e9d7 100644
--- a/dev-java/gluegen/ChangeLog
+++ b/dev-java/gluegen/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for dev-java/gluegen
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*gluegen-2.2.4 (03 Apr 2015)
+
+ 03 Apr 2015; Guillaume Horel <guillaume.horel@gmail.com>
+ +gluegen-2.2.4.ebuild:
+ dev-java/gluegen: version bump
+
03 Nov 2014; Justin Lecher <jlec@gentoo.org> gluegen-1_p20080421.ebuild,
gluegen-2.0_rc8.ebuild, -gluegen-2.1.2.ebuild, gluegen-2.1.4.ebuild:
Bump to EAPI=5; drop old
diff --git a/dev-java/gluegen/Manifest b/dev-java/gluegen/Manifest
index 9c3455f9f..69ccac4ca 100644
--- a/dev-java/gluegen/Manifest
+++ b/dev-java/gluegen/Manifest
@@ -1,3 +1,4 @@
DIST gluegen-2.1.4.tar.gz 42235490 SHA256 18826c58b136dc44089346791e6ed57c7e2828a1ee4d6279d15e26cb12c2b926 SHA512 196478de92686b168d6f35e2e7141a31f682d22a7f96b5bc84d46905c42eb5bf25bacd74ccc51975fc7894e2e0ba2e236a4a68c101bbabaaa5193e4bdc50f607 WHIRLPOOL c05e723d85021f464d49b48fc2a0f11e5979d42355e6ac0d7437c40407d34829d5a531bf2687d47fa29cd8affd14d400a333fe90624a7ecda832a1cf76696440
DIST gluegen-20080421.tar.bz2 1044951 SHA256 15ef8f499afc2256615bf453b318fbc22fbe146293ca4c6ca87c98577bf5a026 SHA512 3bffb55ec8723ac452b38d41f1bc596ee3065b1f791b8c7aec06d8acffdfd83d81553d9090fc273b56fa748b501f3a25f8dc4736bad291bc77f15d211957470d WHIRLPOOL 6171345011955517e84c9b82d187e2fe0c96fc1733ee6427248159fd8456472ea15c9cd223bd784a33478a4cfc568ddcfd73ea0addd13daa1b483b7a8cfe66c1
DIST gluegen-v2.0-rc8.tar.7z 35196696 SHA256 8cae313dfe03d13cdd165aa7d9e698897affae290e7ce7c4a27479fe6522c0dc SHA512 9845246f9776139cd205f197203349eba28150d5018bd086e6f7484df765b4cd122d78fbf836780a10b0d6395c645eb8ec7a256b8f832453c0b20155a11b3a0f WHIRLPOOL 427d6ef990a0702b81a4f62a74dce628594144507392cb8d25b5af5cbeca186faef987c809eeb1faf5d99b8f867213c7786d43f4418f85d04ac68d96595b83b3
+DIST gluegen-v2.2.4.tar.7z 39334025 SHA256 6ad7b35f7c8fc81ec57d986f54b93c5c93127cd6c2b0efc2fb3950022feb15da SHA512 2062924428e8be83a51c3d73ed8e17df45ad4ea1d9a3e03ce2cd55c960229f463f9bdddc3db91728207ae86364b8edba9391dff22e6d42a4b97e41329d2e51bb WHIRLPOOL 51937261ebdc86b03089ee6090f853e92207c6324c693aa4c676eda2c5e1aea8b03b77fd3b35115a2738f5eb241a165b79fbf20676c77de61bb0669889c5a5bd
diff --git a/dev-java/gluegen/gluegen-2.2.4.ebuild b/dev-java/gluegen/gluegen-2.2.4.ebuild
new file mode 100644
index 000000000..3ecca4bb4
--- /dev/null
+++ b/dev-java/gluegen/gluegen-2.2.4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+###############################################################################
+# WARNING: don't add to main tree without fixing QA issues first!
+###############################################################################
+
+EAPI=5
+
+RESTRICT="test" #require jardiff
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+MY_PV=v"${PV}"
+MY_P="${PN}"-"${MY_PV}"
+
+DESCRIPTION="GlueGen is a tool which automatically generates the Java and JNI
+code necessary to call C libraries"
+HOMEPAGE="http://jogamp.org/gluegen/www/"
+SRC_URI="http://jogamp.org/deployment/archive/rc/${MY_PV}/archive/Sources/${MY_P}.tar.7z"
+
+LICENSE="BSD"
+SLOT="2.2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEP="
+ dev-java/ant-core:0
+ dev-java/antlr:0"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.5"
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.5
+ app-arch/p7zip
+ dev-java/ant-antlr:0
+ dev-java/ant-contrib:0
+ dev-java/ant-nodeps:0
+ dev-java/cpptasks:0
+ test? ( dev-java/junit:4 )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ default
+ unpack ./${MY_P}.tar
+}
+
+java_prepare() {
+ rm -rf make/lib
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+
+EANT_BUILD_XML="make/build.xml"
+EANT_BUILD_TARGET="init gluegen.build.java gluegen.build.c tag.build"
+EANT_TEST_TARGET="junit.run"
+EANT_DOC_TARGET=""
+EANT_GENTOO_CLASSPATH="antlr,ant-core"
+EANT_NEEDS_TOOLS="yes"
+EANT_ANT_TASKS="ant-antlr ant-contrib ant-nodeps cpptasks"
+
+src_configure() {
+ use test && EANT_GENTOO_CLASSPATH+=",junit-4"
+ default
+}
+
+src_compile() {
+ # FIXME don't copy around jars
+ EANT_EXTRA_ARGS+=" -Dantlr.jar=\"$(java-pkg_getjar --build-only antlr antlr.jar)\""
+ java-pkg-2_src_compile
+}
+
+src_test() {
+ EANT_EXTRA_ARGS+=" -Djunit.jar=\"$(java-pkg_getjar --build-only junit-4 junit.jar)\""
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_dojar build/${PN}{,-rt}.jar
+ java-pkg_doso build/obj/*.so
+
+ use doc && dohtml -r doc/manual
+ use source && java-pkg_dosrc src/java/*
+
+ # for building jogl
+ insinto /usr/share/${PN}-${SLOT}/make
+ doins -r make/*
+ insinto /usr/share/${PN}-${SLOT}/build
+ doins build/artifact.properties
+}