summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-16 14:30:20 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-16 14:30:20 +0000
commitfeac0a0b19053cb2054505986f7fb3c05b0a1ad3 (patch)
treee67b23d582cfe4598074af2c799f55b074b79868 /dev-java/jakarta-tomcat-jasper
parentRepoman fix (diff)
downloadgentoo-2-feac0a0b19053cb2054505986f7fb3c05b0a1ad3.tar.gz
gentoo-2-feac0a0b19053cb2054505986f7fb3c05b0a1ad3.tar.bz2
gentoo-2-feac0a0b19053cb2054505986f7fb3c05b0a1ad3.zip
Initial import, ebuild based on the contribution by Josh Nichols <nichoj@alum.rpi.edu>. Fixes #92458
(Portage version: 2.0.51.22)
Diffstat (limited to 'dev-java/jakarta-tomcat-jasper')
-rw-r--r--dev-java/jakarta-tomcat-jasper/ChangeLog11
-rw-r--r--dev-java/jakarta-tomcat-jasper/Manifest4
-rw-r--r--dev-java/jakarta-tomcat-jasper/files/digest-jakarta-tomcat-jasper-21
-rw-r--r--dev-java/jakarta-tomcat-jasper/jakarta-tomcat-jasper-2.ebuild71
-rw-r--r--dev-java/jakarta-tomcat-jasper/metadata.xml5
5 files changed, 92 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..340e611858e9
--- /dev/null
+++ b/dev-java/jakarta-tomcat-jasper/Manifest
@@ -0,0 +1,4 @@
+MD5 26e0795e2eca12d6787f99bce83ef416 jakarta-tomcat-jasper-2.ebuild 2419
+MD5 0ee71f9c33b2b448d5fe8e4338d5e30f ChangeLog 379
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 af26ca4772989a2090085a6e24b71628 files/digest-jakarta-tomcat-jasper-2 78
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>