blob: dea533aa04805c9534aa8be1d0e06ea32e0b5fe9 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils java-pkg
MY_P="${PN}-${PV}-src.zip"
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/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.4"
DEPEND="
>=virtual/jdk-1.4
"
src_unpack() {
unpack ${MY_P}
cd ${S}/src
## Fixes some problems in the ant build.xml
epatch ${FILESDIR}/jdbm-0.12-build-fix.patch
}
src_compile() {
cd ${S}/src
ant all || die "Compilation failed!"
}
src_install() {
java-pkg_dojar ${S}/src/dist/${PN}-${PV}.jar
}
|