summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/joda-time/joda-time-0.95.ebuild')
-rw-r--r--dev-java/joda-time/joda-time-0.95.ebuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/dev-java/joda-time/joda-time-0.95.ebuild b/dev-java/joda-time/joda-time-0.95.ebuild
index d96358383cd9..2eba4936157e 100644
--- a/dev-java/joda-time/joda-time-0.95.ebuild
+++ b/dev-java/joda-time/joda-time-0.95.ebuild
@@ -1,29 +1,30 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/joda-time-0.95.ebuild,v 1.1 2004/02/26 05:28:36 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/joda-time-0.95.ebuild,v 1.1.1.1 2005/11/30 09:47:22 chriswhite Exp $
inherit java-pkg
DESCRIPTION="Joda-Time is an open-source project to provide a quality Java date and time API."
HOMEPAGE="http://joda-time.sourceforge.net/"
-SRC_URI="mirror://sourceforge/joda-time/${PN}-${PV}-src.tar.gz"
+SRC_URI="mirror://sourceforge/joda-time/${P}-src.tar.gz"
LICENSE="joda"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86 amd64"
IUSE="doc jikes"
DEPEND=">=virtual/jdk-1.3
- >=dev-java/ant-1.4"
+ >=dev-java/ant-1.4
+ jikes? ( dev-java/jikes )"
RDEPEND=">=virtual/jre-1.3"
src_compile() {
local antflags="jar"
- use jikes && antflags="${antflags} -Dbuild.compiler=jike"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} javadoc"
- ant ${antflags}
+ ant ${antflags} || die "compile problem"
}
src_install() {
java-pkg_dojar build/*.jar
- use d7c && dohtml -r build/docs/
+ use doc && java-pkg_dohtml -r build/docs/
}