diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-13 09:14:58 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-13 09:14:58 +0000 |
commit | 232694478b910b3fc906b540cce17b0257e72ac9 (patch) | |
tree | 393d2e08537abe20d7d8ad55ac2c247d16aa5f2f /dev-java/jsr173/jsr173-1.0-r1.ebuild | |
parent | Ebuild cleanup. Use java-pkg_dojavadoc and fix typo that prevented ChangeLog.... (diff) | |
download | historical-232694478b910b3fc906b540cce17b0257e72ac9.tar.gz historical-232694478b910b3fc906b540cce17b0257e72ac9.tar.bz2 historical-232694478b910b3fc906b540cce17b0257e72ac9.zip |
Ebuild cleanup.
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'dev-java/jsr173/jsr173-1.0-r1.ebuild')
-rw-r--r-- | dev-java/jsr173/jsr173-1.0-r1.ebuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/dev-java/jsr173/jsr173-1.0-r1.ebuild b/dev-java/jsr173/jsr173-1.0-r1.ebuild index 90ae3458627e..70039bc21ec4 100644 --- a/dev-java/jsr173/jsr173-1.0-r1.ebuild +++ b/dev-java/jsr173/jsr173-1.0-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/jsr173/jsr173-1.0-r1.ebuild,v 1.3 2006/12/09 09:21:47 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr173/jsr173-1.0-r1.ebuild,v 1.4 2007/04/13 09:14:58 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-ant-2 @@ -11,39 +13,36 @@ SRC_URI="http://ftpna2.bea.com/pub/downloads/${PN}.jar" LICENSE="bea.ri.jsr173" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="doc source" +IUSE="" RDEPEND=">=virtual/jre-1.3 dev-java/jaxme" DEPEND=">=virtual/jdk-1.3 - dev-java/ant-core ${RDEPEND}" S=${WORKDIR} src_unpack() { - cd ${S} + cd "${S}" jar xvf ${DISTDIR}/${A} || die "failed to unpack" - cp ${FILESDIR}/build-${PVR}.xml build.xml + cp "${FILESDIR}/build-${PVR}.xml" build.xml jar xvf ${P//-/_}_src.jar || die "failed to unpack" - rm *.jar + rm -v *.jar || die cd lib - rm *.jar + rm -v *.jar || die java-pkg_jarfrom jaxme } src_compile() { local antflags="-Dproject.name=${PN} jar" - use doc && antflags="${antflags} javadoc" - - eant ${antflags} || die "Compilation failed" + eant ${antflags} $(use_doc) || die "Compilation failed" } src_install() { java-pkg_dojar dist/${PN}.jar - use doc && java-pkg_dohtml -r dist/doc/api + use doc && java-pkg_dojavadoc dist/doc/api use source && java-pkg_dosrc src/* } |