diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-05-17 21:45:09 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-05-17 21:45:09 +0000 |
commit | f78307cf9a59650224fcecebd779b0e67dcefba2 (patch) | |
tree | 5a025c144b5d8efb59e4500fc6f30fef6385c844 /dev-java/libreadline-java | |
parent | Fix LICENSE to Apache-2.0. (diff) | |
download | gentoo-2-f78307cf9a59650224fcecebd779b0e67dcefba2.tar.gz gentoo-2-f78307cf9a59650224fcecebd779b0e67dcefba2.tar.bz2 gentoo-2-f78307cf9a59650224fcecebd779b0e67dcefba2.zip |
Let the eclass handle the source use flag dependencies and remove generation 1 ebuild.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-java/libreadline-java')
4 files changed, 12 insertions, 51 deletions
diff --git a/dev-java/libreadline-java/ChangeLog b/dev-java/libreadline-java/ChangeLog index 308403ed710c..ec6c6e687755 100644 --- a/dev-java/libreadline-java/ChangeLog +++ b/dev-java/libreadline-java/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/libreadline-java # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/ChangeLog,v 1.29 2007/03/17 16:53:59 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/ChangeLog,v 1.30 2007/05/17 21:45:09 betelgeuse Exp $ + + 17 May 2007; Petteri Räty <betelgeuse@gentoo.org> + -libreadline-java-0.8.0-r1.ebuild, libreadline-java-0.8.0-r2.ebuild: + Let the eclass handle the source use flag dependencies and remove generation + 1 ebuild. 17 Mar 2007; nixnut <nixnut@gentoo.org> libreadline-java-0.8.0-r2.ebuild: Stable on ppc wrt bug 170932 diff --git a/dev-java/libreadline-java/files/digest-libreadline-java-0.8.0-r1 b/dev-java/libreadline-java/files/digest-libreadline-java-0.8.0-r1 deleted file mode 100644 index 7b3ccf2417dd..000000000000 --- a/dev-java/libreadline-java/files/digest-libreadline-java-0.8.0-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 501720ddded45eaedf429b7cc356107c libreadline-java-0.8.0-src.tar.gz 77122 -RMD160 1e1d6f6e3bd37867d8222421857cbc73d072a3c1 libreadline-java-0.8.0-src.tar.gz 77122 -SHA256 cdcfd9910bfe2dca4cd08b2462ec05efee7395e9b9c3efcb51e85fa70548c890 libreadline-java-0.8.0-src.tar.gz 77122 diff --git a/dev-java/libreadline-java/libreadline-java-0.8.0-r1.ebuild b/dev-java/libreadline-java/libreadline-java-0.8.0-r1.ebuild deleted file mode 100644 index e9d19423de49..000000000000 --- a/dev-java/libreadline-java/libreadline-java-0.8.0-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/libreadline-java-0.8.0-r1.ebuild,v 1.11 2006/10/05 18:04:17 gustavoz Exp $ - -inherit java-pkg eutils - -DESCRIPTION="A JNI-wrapper to GNU Readline." -HOMEPAGE="http://java-readline.sourceforge.net/" -SRC_URI="mirror://sourceforge/java-readline/${P}-src.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="x86 ppc amd64 ppc64" -IUSE="doc source" - -RDEPEND=">=virtual/jre-1.4 - sys-libs/ncurses" -DEPEND=">=virtual/jdk-1.4 - source? ( app-arch/zip ) - ${RDEPEND}" -RESTRICT="test" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/termcap-to-ncurses.patch -} - -src_compile() { - make || die "failed to compile" - if use doc; then - make apidoc || die "failed to generate docs" - fi -} - -src_install() { - java-pkg_doso *.so - java-pkg_dojar *.jar - use source && java-pkg_dosrc src/* - use doc && java-pkg_dohtml -r api/* - dodoc ChangeLog NEWS README README.1st TODO -} diff --git a/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild b/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild index 7f0201d8968d..0a6ffb201542 100644 --- a/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild +++ b/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild,v 1.10 2007/03/17 16:53:59 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild,v 1.11 2007/05/17 21:45:09 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" inherit java-pkg-2 eutils @@ -11,20 +13,19 @@ SRC_URI="mirror://sourceforge/java-readline/${P}-src.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~ia64 ppc ppc64 x86 ~x86-fbsd" -IUSE="doc source elibc_FreeBSD" +IUSE="elibc_FreeBSD" COMMON_DEP="sys-libs/ncurses" RDEPEND=">=virtual/jre-1.4 ${COMMON_DEP}" DEPEND=">=virtual/jdk-1.4 - source? ( app-arch/zip ) ${COMMON_DEP}" RESTRICT="test" src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/termcap-to-ncurses.patch + cd "${S}" + epatch "${FILESDIR}/termcap-to-ncurses.patch" # bug #157387, reported upstream epatch "${FILESDIR}/${P}-gmake.patch" |