diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-04-28 17:01:07 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-04-28 17:01:07 +0000 |
commit | b8eb0e71e7fd70bf3408de7e802c93f15a006559 (patch) | |
tree | 96472b9a6ab455889095e29166061ae11c50d4cd /dev-java/jump/jump-0.5.ebuild | |
parent | Fix *initd, *confd and *envd calls (#17388, #174266) (diff) | |
download | gentoo-2-b8eb0e71e7fd70bf3408de7e802c93f15a006559.tar.gz gentoo-2-b8eb0e71e7fd70bf3408de7e802c93f15a006559.tar.bz2 gentoo-2-b8eb0e71e7fd70bf3408de7e802c93f15a006559.zip |
Version bump, thanks to Serkan.
(Portage version: 2.1.2.5)
Diffstat (limited to 'dev-java/jump/jump-0.5.ebuild')
-rw-r--r-- | dev-java/jump/jump-0.5.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/jump/jump-0.5.ebuild b/dev-java/jump/jump-0.5.ebuild new file mode 100644 index 000000000000..bc0cb081db95 --- /dev/null +++ b/dev-java/jump/jump-0.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jump/jump-0.5.ebuild,v 1.1 2007/04/28 17:01:07 caster Exp $ + +JAVA_PKG_IUSE="doc examples source test" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="JUMP Ultimate Math Package (JUMP) is a Java-based extensible high-precision math package." +SRC_URI="mirror://sourceforge/${PN}-math/${P}.tar.gz" +HOMEPAGE="http://jump-math.sourceforge.net/" +KEYWORDS="~x86 ~ppc ~amd64" +LICENSE="BSD" +SLOT="0" +DEPEND=">=virtual/jdk-1.4 + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jre-1.4" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i 's:${java.home}/src::' -i build.xml || die + java-ant_rewrite-classpath +} + +EANT_BUILD_TARGET="jar" +EANT_DOC_TARGET="apidocs" + +src_test() { + local cp="$(java-pkg_getjars junit)" + ANT_TASKS="ant-junit" eant do-tests -Dgentoo.classpath="${cp}" +} + +src_install() { + java-pkg_dojar build/${PN}.jar + + use doc && java-pkg_dojavadoc build/apidocs + use examples && java-pkg_doexamples src/examples + use source && java-pkg_dosrc src/main/org +} |