diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2019-03-16 20:16:23 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-03-16 20:24:00 +0100 |
commit | 9ef7b039927183b79fb82bf1c2abd35db284e3be (patch) | |
tree | 7f82379d44d35d447dd21398675f86d5d22c6afb /dev-java/jdbm/jdbm-0.12-r3.ebuild | |
parent | dev-java/junit: clean up old. (diff) | |
download | gentoo-9ef7b039927183b79fb82bf1c2abd35db284e3be.tar.gz gentoo-9ef7b039927183b79fb82bf1c2abd35db284e3be.tar.bz2 gentoo-9ef7b039927183b79fb82bf1c2abd35db284e3be.zip |
dev-java/jdbm: EAPI 6 bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --force
Diffstat (limited to 'dev-java/jdbm/jdbm-0.12-r3.ebuild')
-rw-r--r-- | dev-java/jdbm/jdbm-0.12-r3.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-java/jdbm/jdbm-0.12-r3.ebuild b/dev-java/jdbm/jdbm-0.12-r3.ebuild new file mode 100644 index 000000000000..4a625eb0a266 --- /dev/null +++ b/dev-java/jdbm/jdbm-0.12-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +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" + +# Needs to depend on 1.3 because this uses assert +# so we need -source 1.3 here. +RDEPEND=" + >=virtual/jre-1.3" + +DEPEND=" + app-arch/unzip + >=virtual/jdk-1.3" + +PATCHES=( "${FILESDIR}/${P}-buildfile.patch" ) + +src_prepare() { + default + java-pkg_clean +} + +src_compile() { + cd "${S}/src" || die + java-pkg-2_src_compile +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + use doc && java-pkg_dojavadoc build/doc/javadoc + use source && java-pkg_dosrc src/main/* +} |