diff options
Diffstat (limited to 'dev-java/xalan')
-rw-r--r-- | dev-java/xalan/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/xalan/Manifest | 13 | ||||
-rw-r--r-- | dev-java/xalan/files/digest-xalan-2.6.0-r3 | 2 | ||||
-rw-r--r-- | dev-java/xalan/files/xalan.script | 4 | ||||
-rw-r--r-- | dev-java/xalan/xalan-2.6.0-r3.ebuild | 57 |
5 files changed, 73 insertions, 11 deletions
diff --git a/dev-java/xalan/ChangeLog b/dev-java/xalan/ChangeLog index 2ad9bb97eb32..2059062e87f0 100644 --- a/dev-java/xalan/ChangeLog +++ b/dev-java/xalan/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/xalan # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/ChangeLog,v 1.40 2005/09/03 21:16:36 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/ChangeLog,v 1.41 2005/11/25 18:58:01 nichoj Exp $ + +*xalan-2.6.0-r3 (25 Nov 2005) + + 25 Nov 2005; Joshua Nichols <nichoj@gentoo.org> +files/xalan.script, + +xalan-2.6.0-r3.ebuild: + Now installs a launcher script (bug #97096). 03 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> xalan-2.6.0-r2.ebuild: Stable on ppc. diff --git a/dev-java/xalan/Manifest b/dev-java/xalan/Manifest index e4626cd71cb4..ab7a22f53716 100644 --- a/dev-java/xalan/Manifest +++ b/dev-java/xalan/Manifest @@ -1,14 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 f12ee1950dbde6586798ceda2f9d33ca xalan-2.6.0-r3.ebuild 1568 MD5 6e5020e4d14bf0bd02fa4e3a90efcf68 xalan-2.6.0-r2.ebuild 1505 MD5 e9d3147bbeead844867bdd40c7507255 ChangeLog 6572 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 6a49548e2da7cf06e72b4ed5ea053629 files/xalan.script 128 MD5 4e5176945458e93da34c78fbce55c507 files/digest-xalan-2.6.0-r2 140 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDKvII/rLF9B432nYRAjMbAJ96QyXmvIbvfO2S+bLOP6EImdzs/QCfcdUf -uaL+fZ79H/YItE+NYmLz1bE= -=qiRS ------END PGP SIGNATURE----- +MD5 4e5176945458e93da34c78fbce55c507 files/digest-xalan-2.6.0-r3 140 diff --git a/dev-java/xalan/files/digest-xalan-2.6.0-r3 b/dev-java/xalan/files/digest-xalan-2.6.0-r3 new file mode 100644 index 000000000000..877c9a9aa96a --- /dev/null +++ b/dev-java/xalan/files/digest-xalan-2.6.0-r3 @@ -0,0 +1,2 @@ +MD5 a210f7108e680ab60a11977ec99ab1f9 xalan-j_2_6_0-src.tar.gz 5875008 +MD5 f8a1e2ada4563e8cd24bb4561d619f2a xalan-2.6.0-docs.tar.bz2 1673064 diff --git a/dev-java/xalan/files/xalan.script b/dev-java/xalan/files/xalan.script new file mode 100644 index 000000000000..34e98776e637 --- /dev/null +++ b/dev-java/xalan/files/xalan.script @@ -0,0 +1,4 @@ +#!/bin/bash +main_class=org.apache.xalan.xslt.Process +classpath=$(java-config -p xalan) +exec java -cp ${classpath} ${main_class} diff --git a/dev-java/xalan/xalan-2.6.0-r3.ebuild b/dev-java/xalan/xalan-2.6.0-r3.ebuild new file mode 100644 index 000000000000..5d70c57c94fb --- /dev/null +++ b/dev-java/xalan/xalan-2.6.0-r3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/xalan-2.6.0-r3.ebuild,v 1.1 2005/11/25 18:58:01 nichoj Exp $ + +inherit java-pkg eutils + +MY_P=${PN}-j_${PV//./_} +DESCRIPTION="XSLT processor" +HOMEPAGE="http://xml.apache.org/xalan-j/index.html" +SRC_URI="mirror://apache/xml/xalan-j/source/${MY_P}-src.tar.gz + doc? ( mirror://gentoo/${P}-docs.tar.bz2 )" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc jikes source" +RDEPEND="=virtual/jdk-1.4* + dev-java/javacup + dev-java/bcel + >=dev-java/jakarta-regexp-1.3-r2 + =dev-java/bsf-2.3* + >=dev-java/xerces-2.6.2-r1" +DEPEND="=virtual/jdk-1.4* + >=dev-java/ant-core-1.5.2 + jikes? ( dev-java/jikes ) + source? ( app-arch/zip ) + ${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S}/bin + rm -f *.jar + java-pkg_jar-from xerces-2 + java-pkg_jar-from javacup javacup.jar java_cup.jar + java-pkg_jar-from javacup javacup.jar runtime.jar + java-pkg_jar-from bcel bcel.jar BCEL.jar + java-pkg_jar-from jakarta-regexp-1.3 jakarta-regexp.jar regexp.jar + java-pkg_jar-from bsf-2.3 + #java-pkg_jar-from jtidy + #java-pkg_jar-from jlex jlex.jar JLex.jar +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "build failed" +} + +src_install() { + java-pkg_dojar build/xalan.jar + use doc && java-pkg_dohtml -r ${WORKDIR}/docs/* + use source && java-pkg_dosrc src/org + + exeinto /usr/bin + newexe ${FILESDIR}/${PN}.script ${PN} +} |