summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jdbm/jdbm-0.20.ebuild')
-rw-r--r--dev-java/jdbm/jdbm-0.20.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-java/jdbm/jdbm-0.20.ebuild b/dev-java/jdbm/jdbm-0.20.ebuild
new file mode 100644
index 0000000..a87e18a
--- /dev/null
+++ b/dev-java/jdbm/jdbm-0.20.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils cvs java-pkg
+
+DESCRIPTION="JDBM is a transactional persistence engine for Java. It aims to be for Java what GDBM is for other languages (C/C++, Python, Perl, etc.): a fast, simple persistence engine."
+HOMEPAGE="http://jdbm.sourceforge.net/"
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+
+DEPEND="
+>=virtual/jdk-1.4
+"
+
+ECVS_LOCALNAME="jdbm"
+ECVS_SERVER="cvs.sourceforge.net:/cvsroot/jdbm"
+ECVS_MODULE="jdbm/src"
+ECVS_USER="anonymous"
+
+src_unpack() {
+
+ cvs_src_unpack
+
+ cd ${WORKDIR}/${PN}
+
+ ## Fixes some problems in the ant build.xml
+ epatch ${FILESDIR}/jdbm-0.20-build-fix.patch
+
+}
+
+src_compile() {
+ cd ${WORKDIR}/${PN}
+ ant all || die "Compilation failed!"
+}
+
+src_install() {
+
+ java-pkg_dojar ${WORKDIR}/dist/${PN}-${PV}.jar
+
+}