summaryrefslogtreecommitdiff
blob: a87e18a9fcc90831db8b150220a5f4e035855136 (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
35
36
37
38
39
40
41
42
43
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

}