aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2012-08-11 18:21:43 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2012-08-11 18:21:43 -0400
commitf09a05f1ec98a8043b8e228351edc2fabb5f3406 (patch)
treee5c4959fd422f05bba77276434f6a8277f43245e /dev-java/scirenderer/scirenderer-0.5.6.ebuild
parent[dev-ml/zarith] fix license (diff)
downloadsci-f09a05f1ec98a8043b8e228351edc2fabb5f3406.tar.gz
sci-f09a05f1ec98a8043b8e228351edc2fabb5f3406.tar.bz2
sci-f09a05f1ec98a8043b8e228351edc2fabb5f3406.zip
[dev-java/scirenderer] version bump
Diffstat (limited to 'dev-java/scirenderer/scirenderer-0.5.6.ebuild')
-rw-r--r--dev-java/scirenderer/scirenderer-0.5.6.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/scirenderer/scirenderer-0.5.6.ebuild b/dev-java/scirenderer/scirenderer-0.5.6.ebuild
new file mode 100644
index 000000000..3a710e21a
--- /dev/null
+++ b/dev-java/scirenderer/scirenderer-0.5.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A rendering library based on JoGL"
+SRC_URI="http://forge.scilab.org/index.php/p/${PN}/downloads/get/${P}.tar.gz"
+HOMEPAGE="http://forge.scilab.org/index.php/p/scirenderer/"
+
+IUSE="doc source"
+DEPEND=">=virtual/jdk-1.5
+ dev-java/jogl:2
+ dev-java/jlatexmath:0"
+RDEPEND=">=virtual/jre-1.5"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+EANT_DOC_TARGET="doc"
+
+java_prepare() {
+ sed -i \
+ -e "s|jogl2.jar =.*|jogl2.jar =$(java-pkg_getjar jogl-2 jogl.all.jar)|" \
+ -e "s|gluegen2-rt.jar =.*|gluegen2-rt.jar =$(java-pkg_getjar gluegen-2 \
+ gluegen-rt.jar)|" \
+ -e "s|jlatexmath.jar =.*|jlatexmath.jar = $(java-pkg_getjars jlatexmath)|" \
+ scirenderer-libs.properties
+}
+
+src_install() {
+ java-pkg_newjar jar/${P}.jar ${PN}.jar
+ use doc && dodoc -r docs/
+ use source && java-pkg_dosrc src/org
+}