1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 JAVA_PKG_IUSE="doc source"
8 inherit eutils java-pkg-2 java-ant-2
10 DESCRIPTION="Jdbm aims to be for Java what GDBM is for Perl, Python, C, ..."
11 HOMEPAGE="http://jdbm.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
18 # Needs to depend on 1.3 because this uses assert
19 # so we need -source 1.3 here.
27 PATCHES=( "${FILESDIR}/${P}-buildfile.patch" )
36 java-pkg-2_src_compile
40 java-pkg_dojar dist/${PN}.jar
41 use doc && java-pkg_dojavadoc build/doc/javadoc
42 use source && java-pkg_dosrc src/main/*