blob: cb192109b1f30fd135797e74c4b05a74246323cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jump/jump-0.4.1-r1.ebuild,v 1.9 2005/10/08 11:11:14 betelgeuse Exp $
inherit java-pkg
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 ~sparc amd64"
LICENSE="BSD"
SLOT="0"
DEPEND=">=virtual/jdk-1.2
sys-apps/sed
dev-java/ant-core"
RDEPEND=">=virtual/jre-1.2"
IUSE="doc"
src_unpack() {
unpack ${A}
cd ${S}
sed -i 's:${java.home}/src::' -i build.xml || die
}
src_compile() {
local antflags="jar"
use doc && antflags="${antflags} apidocs"
ant ${antflags} || die "failed to build"
}
src_install() {
java-pkg_dojar build/${PN}.jar
use doc && java-pkg_dohtml -r ${S}/build/apidocs/*
}
|