diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-03-26 07:21:27 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-03-26 07:21:27 +0000 |
commit | b7384ca1f56d6083653e65d84811685710ca8cfd (patch) | |
tree | 4a5777fda04acf3ce1746c3f83205b234886e923 /dev-java | |
parent | Put tarball on gentoo-mirror. (diff) | |
download | gentoo-2-b7384ca1f56d6083653e65d84811685710ca8cfd.tar.gz gentoo-2-b7384ca1f56d6083653e65d84811685710ca8cfd.tar.bz2 gentoo-2-b7384ca1f56d6083653e65d84811685710ca8cfd.zip |
Version bump. #352246
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/itext/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/itext/itext-5.2.0.ebuild | 53 |
2 files changed, 60 insertions, 2 deletions
diff --git a/dev-java/itext/ChangeLog b/dev-java/itext/ChangeLog index c9a9e42d808f..098c71272102 100644 --- a/dev-java/itext/ChangeLog +++ b/dev-java/itext/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/itext -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/ChangeLog,v 1.91 2010/05/11 13:19:46 josejx Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/ChangeLog,v 1.92 2012/03/26 07:21:27 sera Exp $ + +*itext-5.2.0 (26 Mar 2012) + + 26 Mar 2012; Ralph Sennhauser <sera@gentoo.org> +itext-5.2.0.ebuild: + Version bump. #352246 11 May 2010; Joseph Jezak <josejx@gentoo.org> itext-2.1.5.ebuild: Marked ppc/ppc64 stable for bug #275176. diff --git a/dev-java/itext/itext-5.2.0.ebuild b/dev-java/itext/itext-5.2.0.ebuild new file mode 100644 index 000000000000..e6f32201f640 --- /dev/null +++ b/dev-java/itext/itext-5.2.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/itext-5.2.0.ebuild,v 1.1 2012/03/26 07:21:27 sera Exp $ + +EAPI="4" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java library that generate documents in the Portable Document Format (PDF) and/or HTML." +HOMEPAGE="http://itextpdf.com" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" + +LICENSE="AGPL-3" +SLOT="5" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEP=" + dev-java/bcmail:0 + dev-java/bcprov:0 + dev-java/bctsp:0" +RDEPEND="${COMMON_DEP} + >=virtual/jre-1.5" +DEPEND="${COMMON_DEP} + >=virtual/jdk-1.5 + app-arch/unzip" + +src_unpack() { + default + unpack ./${PN}{pdf,-xtra}-${PV}-sources.jar +} + +java_prepare() { + # Extract resources from precompiled jar + mkdir target/classes -p || die + pushd target/classes > /dev/null || die + declare -a resources + resources=( $(jar -tf "${WORKDIR}"/${PN}pdf-${PV}.jar \ + | sed -e '/class$/d' -e '/\/$/d' -e '/META-INF/d') ) + assert + jar -xf "${WORKDIR}"/${PN}pdf-${PV}.jar "${resources[@]}" || die + popd > /dev/null + + find "${WORKDIR}" -name '*.jar' -exec rm -v {} + || die +} + +JAVA_GENTOO_CLASSPATH="bcmail,bcprov,bctsp" + +src_install() { + java-pkg-simple_src_install +} |