aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <seb@cayenne.ist.utl.pt>2010-01-22 18:33:29 +0000
committerSebastien Fabbro <seb@cayenne.ist.utl.pt>2010-01-22 18:33:29 +0000
commit1c109000c4d979a7bcb36c23dec5a4ae01a8d560 (patch)
treea2a1a24edcfc3cd2205cdff0d9307a02df79b0b8 /dev-java/jeuclid-core/jeuclid-core-3.1.8.ebuild
parentmove EGIT stuff up before inherit (diff)
downloadsci-1c109000c4d979a7bcb36c23dec5a4ae01a8d560.tar.gz
sci-1c109000c4d979a7bcb36c23dec5a4ae01a8d560.tar.bz2
sci-1c109000c4d979a7bcb36c23dec5a4ae01a8d560.zip
Initial import of hdf-java
Diffstat (limited to 'dev-java/jeuclid-core/jeuclid-core-3.1.8.ebuild')
-rw-r--r--dev-java/jeuclid-core/jeuclid-core-3.1.8.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/jeuclid-core/jeuclid-core-3.1.8.ebuild b/dev-java/jeuclid-core/jeuclid-core-3.1.8.ebuild
new file mode 100644
index 000000000..dca987736
--- /dev/null
+++ b/dev-java/jeuclid-core/jeuclid-core-3.1.8.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Core module of MathML rendering solution."
+HOMEPAGE="http://jeuclid.sourceforge.net"
+SRC_URI="mirror://sourceforge/jeuclid/jeuclid-parent-${PV}-src.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND="dev-java/ant-core
+ dev-java/batik:1.7
+ dev-java/commons-logging
+ dev-java/jcip-annotations
+ dev-java/xml-commons-external:1.3
+ dev-java/xmlgraphics-commons:1.3"
+
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEPEND}"
+
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${COMMON_DEPEND}"
+
+S="${WORKDIR}/jeuclid-parent-${PV}/${PN}"
+
+src_prepare() {
+ # remove support of FreeHep from JAVA files (not needed for FOP plugin)
+ # really not needed?
+ #rm -f src/main/java/net/sourceforge/jeuclid/converter/FreeHep*
+
+ epatch "${FILESDIR}"/${PN}-no-freehep.patch
+
+ # create directory for dependencies
+ mkdir lib || die
+ cd lib || die
+
+ # add dependencies into the lib dir
+ java-pkg_jar-from ant-core ant.jar
+ java-pkg_jar-from batik-1.7 batik-all.jar
+ java-pkg_jar-from commons-logging commons-logging.jar
+ java-pkg_jar-from jcip-annotations jcip-annotations.jar
+ java-pkg_jar-from xml-commons-external-1.3 xml-apis.jar
+ java-pkg_jar-from xmlgraphics-commons-1.3 xmlgraphics-commons.jar
+ #java-pkg_jar-from freehep-util freehep-util.jar
+ #java-pkg_jar-from freehep-graphics2d freehep-graphics2d.jar
+}
+
+src_install() {
+ java-pkg_dojar target/${PN}.jar
+}