diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-06-12 20:06:00 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-06-12 20:06:00 +0000 |
commit | 5f2f0cacc13601e7508a98dba4a671bdc6e1c54e (patch) | |
tree | fd685af8fa3775a526209baaaa4d73bad92b34a4 /dev-java/batik | |
parent | Stable on amd64 (diff) | |
download | gentoo-2-5f2f0cacc13601e7508a98dba4a671bdc6e1c54e.tar.gz gentoo-2-5f2f0cacc13601e7508a98dba4a671bdc6e1c54e.tar.bz2 gentoo-2-5f2f0cacc13601e7508a98dba4a671bdc6e1c54e.zip |
Readded 1.5
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/batik')
-rw-r--r-- | dev-java/batik/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/batik/Manifest | 14 | ||||
-rw-r--r-- | dev-java/batik/batik-1.5.ebuild | 63 | ||||
-rw-r--r-- | dev-java/batik/files/digest-batik-1.5 | 1 |
4 files changed, 73 insertions, 12 deletions
diff --git a/dev-java/batik/ChangeLog b/dev-java/batik/ChangeLog index 687419c06a0e..030bacfd9463 100644 --- a/dev-java/batik/ChangeLog +++ b/dev-java/batik/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/batik # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/batik/ChangeLog,v 1.22 2005/06/12 18:47:30 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/batik/ChangeLog,v 1.23 2005/06/12 20:06:00 luckyduck Exp $ + +*batik-1.5 (12 Jun 2005) + + 12 Jun 2005; Jan Brinkmann <luckyduck@gentoo.org> +batik-1.5.ebuild: + Readded 1.5 12 Jun 2005; Jan Brinkmann <luckyduck@gentoo.org> -batik-1.5.ebuild, -batik-1.5.1.ebuild, -batik-1.5.1-r3.ebuild, batik-1.5.1-r4.ebuild: diff --git a/dev-java/batik/Manifest b/dev-java/batik/Manifest index 3a8e23d790e9..6633cd941a64 100644 --- a/dev-java/batik/Manifest +++ b/dev-java/batik/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 2eae7da0769a91b26642459415f96d30 ChangeLog 2793 +MD5 bd1fb4aecea2d86457ddaaa5d194e479 ChangeLog 2905 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 442cbe7840871fa23ba75f52588539a2 batik-1.5.1-r4.ebuild 1736 +MD5 d2308fcfb3acb01163e6360a14dc4524 batik-1.5.ebuild 1716 +MD5 479ed0922a69b318b40b485614a6af16 files/digest-batik-1.5 63 MD5 2773f6aa10bcb901bd07ea509571ccef files/digest-batik-1.5.1-r4 66 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFCrINe06ebR+OMO78RAvrfAJ0Wl2tbWJtowVIzlRds7EqQBTfvQACdHHBS -vIIll2jKMv+xNyWAROViPso= -=4v1K ------END PGP SIGNATURE----- diff --git a/dev-java/batik/batik-1.5.ebuild b/dev-java/batik/batik-1.5.ebuild new file mode 100644 index 000000000000..4646be63ed6d --- /dev/null +++ b/dev-java/batik/batik-1.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/batik/batik-1.5.ebuild,v 1.11 2005/06/12 20:06:00 luckyduck Exp $ + +inherit java-pkg + +DESCRIPTION="Batik is a Java(tm) technology based toolkit for applications or applets that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such as viewing, generation or manipulation." +SRC_URI="mirror://apache/xml/batik/${PN}-src-${PV}.zip" +HOMEPAGE="http://xml.apache.org/batik/" +IUSE="doc" +DEPEND=">=virtual/jdk-1.3 + =dev-java/rhino-1.5* + app-arch/unzip + >=dev-java/xerces-2.6.2-r1 + dev-java/ant" +RDEPEND=">=virtual/jdk-1.3" +LICENSE="Apache-1.1" +SLOT="1.5" +KEYWORDS="~x86 ~sparc ~ppc ~amd64" + +S=${WORKDIR}/xml-batik + +src_unpack() { + jar xf ${DISTDIR}/${PN}-src-${PV}.zip + cd ${S}/lib + rm -f *.jar + java-pkg_jar-from xerces-2 + java-pkg_jar-from rhino-1.5 +} + +src_compile() { + export ANT_OPTS=-Xmx256m + local antflags="jars all-jar" + ant ${antflags} || die "compile problem" +} + +src_install () { + java-pkg_dojar ${P}/batik*.jar + + cd ${P}/lib + rm {js,x*}.jar + + # needed because batik expects this layout: + # batik.jar lib/*.jar + # there are hardcoded classpathes in the manifest :( + for jar in *.jar + do + java-pkg_dojar ${jar} + rm -f ${jar} + ln -s ${DESTTREE}/share/${PN}-${SLOT}/lib/${jar} ${jar} + done + + cd ${S} + cp -ra ${P}/lib ${D}${DESTTREE}/share/${PN}-${SLOT}/lib/ + + dodoc README LICENSE + use doc && java-pkg_dohtml -r ${P}/docs/ + + echo "#!/bin/sh" > ${PN}${SLOT} + echo '${JAVA_HOME}/bin/java -classpath $(java-config -p batik-1.5,xerces-2,rhino-1.5) org.apache.batik.apps.svgbrowser.Main $*' >> ${PN}${SLOT} + dobin ${PN}${SLOT} + +} diff --git a/dev-java/batik/files/digest-batik-1.5 b/dev-java/batik/files/digest-batik-1.5 new file mode 100644 index 000000000000..75f845fbef96 --- /dev/null +++ b/dev-java/batik/files/digest-batik-1.5 @@ -0,0 +1 @@ +MD5 94d3e981014a5ed6f8c0e3fd80be3033 batik-src-1.5.zip 9234151 |