summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jdbm/jdbm-0.12.ebuild')
-rw-r--r--dev-java/jdbm/jdbm-0.12.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-java/jdbm/jdbm-0.12.ebuild b/dev-java/jdbm/jdbm-0.12.ebuild
new file mode 100644
index 000000000000..fe819584584f
--- /dev/null
+++ b/dev-java/jdbm/jdbm-0.12.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbm/jdbm-0.12.ebuild,v 1.1 2005/02/05 23:12:09 luckyduck Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="Jdbm aims to be for Java what GDBM is for Perl, Python, C, ..."
+HOMEPAGE="http://jdbm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+
+LICENSE="BSD"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc jikes"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ app-arch/unzip
+ jikes? ( dev-java/jikes )"
+RDEPEND=">=virtual/jre-1.4
+ dev-java/jta
+ =dev-java/xerces-1.3*"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}/src
+ epatch ${FILESDIR}/${P}-buildfile.patch
+
+ cd ${S}/lib
+ rm *.jar
+}
+
+src_compile() {
+ cd ${S}/src
+
+ local antflags="jar"
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "ant failed"
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ use doc && java-pkg_dohtml -r build/doc/javadoc/*
+}