diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-01-20 16:20:37 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-01-20 16:20:37 +0000 |
commit | 7312693e9f88deb61ae572a8ec853e0d95b57906 (patch) | |
tree | c7abc56b4f401c9a7d293eab50f01e106c68e402 /dev-java/xt | |
parent | Bump of 5.4 RC (diff) | |
download | gentoo-2-7312693e9f88deb61ae572a8ec853e0d95b57906.tar.gz gentoo-2-7312693e9f88deb61ae572a8ec853e0d95b57906.tar.bz2 gentoo-2-7312693e9f88deb61ae572a8ec853e0d95b57906.zip |
Revbump to switch dependency on dev-java/servletapi to
java-virtuals/servlet-api. #398689
Also bump EAPI and use SLOT deps as well as other cleanup.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/xt')
-rw-r--r-- | dev-java/xt/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/xt/xt-20051206-r2.ebuild | 54 |
2 files changed, 63 insertions, 2 deletions
diff --git a/dev-java/xt/ChangeLog b/dev-java/xt/ChangeLog index 1e45c4536715..eaf29043c94e 100644 --- a/dev-java/xt/ChangeLog +++ b/dev-java/xt/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/xt -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xt/ChangeLog,v 1.20 2007/07/12 22:38:23 betelgeuse Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xt/ChangeLog,v 1.21 2012/01/20 16:20:37 sera Exp $ + +*xt-20051206-r2 (20 Jan 2012) + + 20 Jan 2012; Ralph Sennhauser <sera@gentoo.org> +xt-20051206-r2.ebuild: + Revbump to switch dependency on dev-java/servletapi to + java-virtuals/servlet-api. #398689 + Also bump EAPI and use SLOT deps as well as other cleanup. 12 Jul 2007; Petteri Räty <betelgeuse@gentoo.org> xt-20051206-r1.ebuild: Javadoc in sun-jdk-1.6 starting with u2 works fine so removing the work diff --git a/dev-java/xt/xt-20051206-r2.ebuild b/dev-java/xt/xt-20051206-r2.ebuild new file mode 100644 index 000000000000..20132b5ab886 --- /dev/null +++ b/dev-java/xt/xt-20051206-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xt/xt-20051206-r2.ebuild,v 1.1 2012/01/20 16:20:37 sera Exp $ + +EAPI="4" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 eutils java-ant-2 + +DESCRIPTION="Java Implementation of XSL-Transformations" +SRC_URI="http://www.blnz.com/xt/${P}-src.zip" +HOMEPAGE="http://www.blnz.com/xt/" + +LICENSE="JamesClark" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +COMMON_DEP=" + java-virtuals/servlet-api:2.4" +RDEPEND=" + >=virtual/jre-1.4 + dev-java/xp:0 + ${COMMON_DEP}" +DEPEND=" + >=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" + +java_prepare() { + find "${WORKDIR}" -name '*.jar' -delete || die + + epatch "${FILESDIR}/20051206-java5.patch" + + java-pkg_jar-from --into lib servlet-api-2.4 +} + +EANT_BUILD_TARGET="compile" +EANT_EXTRA_ARGS="-Dunzip.done=true" + +src_install() { + java-pkg_newjar lib/${PN}${PV}.jar + java-pkg_dolauncher ${PN} \ + --main com.jclark.xsl.sax.Driver + # loads this only on runtime + java-pkg_register-dependency xp + + dodoc README.txt + dohtml index.html + + use doc && java-pkg_dojavadoc docs/api + use source && java-pkg_dosrc src/xt/java/com +} |