diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-05-16 14:30:20 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-05-16 14:30:20 +0000 |
commit | 98afa6abf4c3483ec72f948203878ba691ba446b (patch) | |
tree | 1833e55ad9c6c9b9f073d641db57c2ff2a73318b /dev-java | |
parent | Repoman fix (diff) | |
download | historical-98afa6abf4c3483ec72f948203878ba691ba446b.tar.gz historical-98afa6abf4c3483ec72f948203878ba691ba446b.tar.bz2 historical-98afa6abf4c3483ec72f948203878ba691ba446b.zip |
Initial import, ebuild based on the contribution by Josh Nichols <nichoj@alum.rpi.edu>. Fixes #92458
Package-Manager: portage-2.0.51.22
Diffstat (limited to 'dev-java')
5 files changed, 102 insertions, 0 deletions
diff --git a/dev-java/jakarta-tomcat-jasper/ChangeLog b/dev-java/jakarta-tomcat-jasper/ChangeLog new file mode 100644 index 000000000000..469b091f12e0 --- /dev/null +++ b/dev-java/jakarta-tomcat-jasper/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/jakarta-tomcat-jasper +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-tomcat-jasper/ChangeLog,v 1.1 2005/05/16 14:30:20 luckyduck Exp $ + +*jakarta-tomcat-jasper-2 (16 May 2005) + + 16 May 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml, + +jakarta-tomcat-jasper-2.ebuild: + Initial import, ebuild based on the contribution by Josh Nichols + <nichoj@alum.rpi.edu>. Fixes #92458 + diff --git a/dev-java/jakarta-tomcat-jasper/Manifest b/dev-java/jakarta-tomcat-jasper/Manifest new file mode 100644 index 000000000000..053d8771c34b --- /dev/null +++ b/dev-java/jakarta-tomcat-jasper/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 26e5e70a09436d893dbeee056eea047b jakarta-tomcat-jasper-2.ebuild 2440 +MD5 5f0b496f1526f36dbf6772e191d6f5b2 ChangeLog 484 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 af26ca4772989a2090085a6e24b71628 files/digest-jakarta-tomcat-jasper-2 78 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFCiK6U06ebR+OMO78RArEaAJ9zFKUzJIcH2f3rW+lWf8QvjNrd/ACdGho2 +Wf8iqYFhHm3N4vdlqQgG4hs= +=xaQu +-----END PGP SIGNATURE----- diff --git a/dev-java/jakarta-tomcat-jasper/files/digest-jakarta-tomcat-jasper-2 b/dev-java/jakarta-tomcat-jasper/files/digest-jakarta-tomcat-jasper-2 new file mode 100644 index 000000000000..38ec5031aa8e --- /dev/null +++ b/dev-java/jakarta-tomcat-jasper/files/digest-jakarta-tomcat-jasper-2 @@ -0,0 +1 @@ +MD5 8115f86558aef8a17543397e7f9d9469 jakarta-tomcat-5.0.28-src.tar.gz 3565766 diff --git a/dev-java/jakarta-tomcat-jasper/jakarta-tomcat-jasper-2.ebuild b/dev-java/jakarta-tomcat-jasper/jakarta-tomcat-jasper-2.ebuild new file mode 100644 index 000000000000..8e2744144814 --- /dev/null +++ b/dev-java/jakarta-tomcat-jasper/jakarta-tomcat-jasper-2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-tomcat-jasper/jakarta-tomcat-jasper-2.ebuild,v 1.1 2005/05/16 14:30:20 luckyduck Exp $ + +inherit eutils java-pkg + +TOMCAT_PN="5.0.28" +DESCRIPTION="Servlet API 5 from jakarta.apache.org" +HOMEPAGE="http://jakarta.apache.org/" +SRC_URI="mirror://apache/jakarta/tomcat-5/v5.0.28/src/jakarta-tomcat-${TOMCAT_PN}-src.tar.gz" + +LICENSE="Apache-1.1" +SLOT="2.4" +KEYWORDS="~x86 ~amd64" +IUSE="doc jikes source" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" +RDEPEND=">=virtual/jdk-1.4 + =dev-java/servletapi-2.4* + =dev-java/xerces-1.3* + =dev-java/xerces-2.6* + dev-java/xml-commons + dev-java/commons-collections + dev-java/commons-daemon + dev-java/commons-el + dev-java/commons-logging + dev-java/commons-launcher" + +S=${WORKDIR}/jakarta-tomcat-${TOMCAT_PN}-src/${PN}/jasper2 + +src_unpack() { + unpack ${A} + cd ${S} + + # Setup build.properties + echo "servlet-api.jar=$(java-pkg_getjar servletapi-2.4 servlet-api.jar)" \ + >> build.properties + echo "jsp-api.jar=$(java-pkg_getjar servletapi-2.4 jsp-api.jar)" \ + >> build.properties + echo "ant.jar.jar=$(java-pkg_getjar ant-core ant.jar)" \ + >> build.properties + echo "xerces.jar=$(java-pkg_getjar xerces-1.3 xerces.jar)" \ + >> build.properties + echo "xercesImpl.jar=$(java-pkg_getjar xerces-2 xercesImpl.jar)" \ + >> build.properties + echo "xml-apis.jar=$(java-pkg_getjar xml-commons xml-apis.jar)" \ + >> build.properties + echo "commons-el.jar=$(java-pkg_getjar commons-el commons-el.jar)" \ + >> build.properties + echo "commons-collections.jar=$(java-pkg_getjar commons-collections commons-collections.jar)" >> build.properties + echo "commons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" >> build.properties + echo "commons-daemon-launcher=$(java-pkg_getjar commons-daemon commons-daemon.jar)" >> build.properties + echo "commons-launcher.jar=$(java-pkg_getjar commons-launcher commons-launcher.jar)" >> build.properties +} + +src_compile() { + antflags="build-main" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compilation failed" +} + +src_install () { + java-pkg_dojar ${S}/build/shared/lib/jasper-*.jar + + use doc && java-pkg_dohtml -r ${S}/build/javadoc + use source && java-pkg_dosrc src/share/* +} diff --git a/dev-java/jakarta-tomcat-jasper/metadata.xml b/dev-java/jakarta-tomcat-jasper/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/jakarta-tomcat-jasper/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> |