diff options
Diffstat (limited to 'dev-java/jscience/jscience-1.0.4-r1.ebuild')
-rw-r--r-- | dev-java/jscience/jscience-1.0.4-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/jscience/jscience-1.0.4-r1.ebuild b/dev-java/jscience/jscience-1.0.4-r1.ebuild new file mode 100644 index 000000000000..8805a7a5aa2d --- /dev/null +++ b/dev-java/jscience/jscience-1.0.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jscience/jscience-1.0.4-r1.ebuild,v 1.1 2007/04/28 16:17:48 nelchael Exp $ + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java Tools and Libraries for the Advancement of Sciences" +SRC_URI="http://jscience.org/${P}-src.zip" +HOMEPAGE="http://jscience.org/" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEP="~dev-java/javolution-2.2.4" + +RDEPEND=">=virtual/jdk-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" + +S="${WORKDIR}/jscience-${PV%.*}" + +src_unpack() { + + unpack ${A} + + cd ${S}/lib + rm -f *.jar + java-pkg_jar-from javolution-2.2.4 + +} + +EANT_BUILD_TARGET="jarfile" + +src_install() { + + java-pkg_dojar jscience.jar + + dodoc doc/coding_standard.txt + use doc && java-pkg_dojavadoc api + use source && java-pkg_dosrc "${S}/src"/* + +} |