diff options
author | William Thomson <wltjr@gentoo.org> | 2006-12-19 23:45:17 +0000 |
---|---|---|
committer | William Thomson <wltjr@gentoo.org> | 2006-12-19 23:45:17 +0000 |
commit | c93c96d5eb7b017c4be7fba54d23aa81522756af (patch) | |
tree | 7db2263de54ec10ff13fdda22150ae7176fdc1b2 /dev-java/itext/itext-1.4.8.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-c93c96d5eb7b017c4be7fba54d23aa81522756af.tar.gz gentoo-2-c93c96d5eb7b017c4be7fba54d23aa81522756af.tar.bz2 gentoo-2-c93c96d5eb7b017c4be7fba54d23aa81522756af.zip |
Bumped package to latest version
(Portage version: 2.1.2_rc3-r6)
Diffstat (limited to 'dev-java/itext/itext-1.4.8.ebuild')
-rw-r--r-- | dev-java/itext/itext-1.4.8.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-java/itext/itext-1.4.8.ebuild b/dev-java/itext/itext-1.4.8.ebuild new file mode 100644 index 000000000000..055223326b76 --- /dev/null +++ b/dev-java/itext/itext-1.4.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/itext-1.4.8.ebuild,v 1.1 2006/12/19 23:45:17 wltjr Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A Java library that generate documents in the Portable Document Format (PDF) and/or HTML." +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 ~x86" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4" + +S=${WORKDIR} + +src_unpack() { + mkdir ${WORKDIR}/src && cd ${WORKDIR}/src + unpack ${PN}-src-${PV}.tar.gz +} + +src_compile() { + cd ${WORKDIR}/src + eant jar $(use_doc) +} + +src_install() { + java-pkg_dojar build/bin/*.jar + + use source && java-pkg_dosrc src/com + use doc && java-pkg_dojavadoc build/docs +} |