diff options
Diffstat (limited to 'dev-java/itext/itext-2.0.0.ebuild')
-rw-r--r-- | dev-java/itext/itext-2.0.0.ebuild | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/dev-java/itext/itext-2.0.0.ebuild b/dev-java/itext/itext-2.0.0.ebuild index f3bcabe47538..dd3f725970c0 100644 --- a/dev-java/itext/itext-2.0.0.ebuild +++ b/dev-java/itext/itext-2.0.0.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/itext/itext-2.0.0.ebuild,v 1.1 2007/03/11 16:46:36 wltjr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/itext-2.0.0.ebuild,v 1.2 2007/03/23 13:12:26 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-ant-2 @@ -8,28 +10,30 @@ DESCRIPTION="A Java library that generate documents in the Portable Document For HOMEPAGE="http://www.lowagie.com/iText/" SRC_URI="mirror://sourceforge/itext/${PN}-src-${PV}.tar.gz" -IUSE="doc source" - LICENSE="MPL-1.1" SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -DEPEND=">=virtual/jdk-1.4 - dev-java/ant-core - source? ( app-arch/zip )" +DEPEND=">=virtual/jdk-1.4" RDEPEND=">=virtual/jre-1.4" S=${WORKDIR} src_unpack() { - mkdir ${WORKDIR}/src && cd ${WORKDIR}/src - unpack ${PN}-src-${PV}.tar.gz + mkdir "${WORKDIR}/src" && cd "${WORKDIR}/src" + unpack ${A} + + # Tries to download these in the compile target + # with the get task so we should do something to it + # before this can do stable + #mkdir -p "${WORKDIR}/build/bin" || die + #cd "${WORKDIR}/build/bin" || die + #touch foo.txt + #jar cf bcmail-jdk14-135.jar foo.txt + #jar cf bcprov-jdk14-135.jar foo.txt } -src_compile() { - cd ${WORKDIR}/src - eant jar $(use_doc) -} +EANT_BUILD_XML="src/build.xml" src_install() { java-pkg_dojar build/bin/*.jar |