diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-02-18 19:50:42 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-02-18 19:50:42 +0000 |
commit | a4847036f083fa25acf2d7b3b8a62dd6ef0df902 (patch) | |
tree | 160561fd707c5dd116f50dfb23a42a9df8e6bd9e /dev-java/jzlib | |
parent | Removed old version. (diff) | |
download | gentoo-2-a4847036f083fa25acf2d7b3b8a62dd6ef0df902.tar.gz gentoo-2-a4847036f083fa25acf2d7b3b8a62dd6ef0df902.tar.bz2 gentoo-2-a4847036f083fa25acf2d7b3b8a62dd6ef0df902.zip |
Ebuild cleanup.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-java/jzlib')
-rw-r--r-- | dev-java/jzlib/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/jzlib/jzlib-1.0.7-r1.ebuild | 25 |
2 files changed, 15 insertions, 15 deletions
diff --git a/dev-java/jzlib/ChangeLog b/dev-java/jzlib/ChangeLog index bed5655a7536..d0fe35f0ab23 100644 --- a/dev-java/jzlib/ChangeLog +++ b/dev-java/jzlib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/jzlib # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jzlib/ChangeLog,v 1.24 2007/02/18 19:47:16 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jzlib/ChangeLog,v 1.25 2007/02/18 19:50:42 betelgeuse Exp $ + + 18 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> jzlib-1.0.7-r1.ebuild: + Ebuild cleanup. 18 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> -jzlib-1.0.7.ebuild: Removed old version. diff --git a/dev-java/jzlib/jzlib-1.0.7-r1.ebuild b/dev-java/jzlib/jzlib-1.0.7-r1.ebuild index ed9cf513c0a0..173ad502d322 100644 --- a/dev-java/jzlib/jzlib-1.0.7-r1.ebuild +++ b/dev-java/jzlib/jzlib-1.0.7-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jzlib/jzlib-1.0.7-r1.ebuild,v 1.5 2006/10/17 02:40:16 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jzlib/jzlib-1.0.7-r1.ebuild,v 1.6 2007/02/18 19:50:42 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-ant-2 @@ -11,28 +13,23 @@ SRC_URI="http://www.jcraft.com/${PN}/${P}.tar.gz" LICENSE="jcraft" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="doc source" -DEPEND=">=virtual/jdk-1.4 - >=dev-java/ant-core-1.4 - source? ( app-arch/zip )" +DEPEND=">=virtual/jdk-1.4" RDEPEND=">=virtual/jre-1.4" src_unpack() { unpack ${A} - cp ${FILESDIR}/jzlib_build.xml ${S}/build.xml || die - mkdir ${S}/src - mv ${S}/com/ ${S}/src/ + cp "${FILESDIR}/jzlib_build.xml" "${S}/build.xml" || die + mkdir "${S}/src" || die + mv "${S}/com/" "${S}/src/" || die } -src_compile() { - eant $(use_doc) dist -} +EANT_BUILD_TARGET="dist" src_install() { java-pkg_newjar dist/lib/jzlib*.jar jzlib.jar - use doc && java-pkg_dohtml -r javadoc/* + use doc && java-pkg_dojavadoc javadoc use source && java-pkg_dosrc src - dodoc README ChangeLog + dodoc README ChangeLog || die } |