diff options
-rw-r--r-- | dev-java/servletapi/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/servletapi/Manifest | 8 | ||||
-rw-r--r-- | dev-java/servletapi/files/digest-servletapi-2.4 | 1 | ||||
-rw-r--r-- | dev-java/servletapi/servletapi-2.4.ebuild | 46 |
4 files changed, 58 insertions, 4 deletions
diff --git a/dev-java/servletapi/ChangeLog b/dev-java/servletapi/ChangeLog index ff58be0f1eb7..235e5eeb493b 100644 --- a/dev-java/servletapi/ChangeLog +++ b/dev-java/servletapi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/servletapi # Copyright 1999-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/servletapi/ChangeLog,v 1.5 2004/01/22 01:58:32 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/servletapi/ChangeLog,v 1.6 2004/02/25 07:50:24 zx Exp $ + +*servletapi-2.4 (27 Feb 2004) + + 27 Feb 2004; Chris Aniszczyk <zx@gentoo.org> servletapi-2.4.ebuild: + Version Bump, closes #37702 *servletapi-2.3-r1 (21 Jan 2004) diff --git a/dev-java/servletapi/Manifest b/dev-java/servletapi/Manifest index 4a2fb695d718..25937d9e82d4 100644 --- a/dev-java/servletapi/Manifest +++ b/dev-java/servletapi/Manifest @@ -1,6 +1,8 @@ -MD5 97b98264074f2a62c68ca320d42f4467 servletapi-2.2-r1.ebuild 997 -MD5 ecc251768d7c68ab7ef1240319adfa65 ChangeLog 1357 +MD5 824668cc8b8f4cb3f3d61e59ea707157 servletapi-2.2-r1.ebuild 996 +MD5 52e9ca4a9b67d75d27466a60d64ff07c servletapi-2.4.ebuild 1070 +MD5 abd8fa22ade428367667d8756b7fbd19 ChangeLog 1356 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 -MD5 5f71818fdf46f4ecf7050571c1a9fe2c servletapi-2.3-r1.ebuild 954 +MD5 558419f6ab5b00b649518e4f8bbf4803 servletapi-2.3-r1.ebuild 953 +MD5 b0c3c4a010bfa47361652ebf6d68ea77 files/digest-servletapi-2.4 78 MD5 130423ce821911d5ddc38a30df67574b files/digest-servletapi-2.2-r1 74 MD5 dcffc47728eefea370d29b3bf0d11158 files/digest-servletapi-2.3-r1 75 diff --git a/dev-java/servletapi/files/digest-servletapi-2.4 b/dev-java/servletapi/files/digest-servletapi-2.4 new file mode 100644 index 000000000000..fbefd200c037 --- /dev/null +++ b/dev-java/servletapi/files/digest-servletapi-2.4 @@ -0,0 +1 @@ +MD5 3555d6ee9374cf2afd2c01b72f71969a jakarta-tomcat-5.0.19-src.tar.gz 3645543 diff --git a/dev-java/servletapi/servletapi-2.4.ebuild b/dev-java/servletapi/servletapi-2.4.ebuild new file mode 100644 index 000000000000..7c6dd971dbe9 --- /dev/null +++ b/dev-java/servletapi/servletapi-2.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/servletapi/servletapi-2.4.ebuild,v 1.1 2004/02/25 07:50:24 zx Exp $ + +inherit java-pkg + +DESCRIPTION="Servlet API 5 from jakarta.apache.org" +HOMEPAGE="http://jakarta.apache.org/" +SRC_URI="http://apache.roweboat.net/jakarta/tomcat-5/v5.0.19/src/jakarta-tomcat-5.0.19-src.tar.gz" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-1.5" +RDEPEND=">=virtual/jdk-1.4" +LICENSE="Apache-1.1" +SLOT="2.4" +KEYWORDS="~x86 ~sparc" +IUSE="jikes doc" + +S=${WORKDIR}/jakarta-tomcat-5.0.19-src/jakarta-servletapi-5 + +src_compile() { + antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadoc examples" + ant ${antflags} -f jsr154/build.xml + ant ${antflags} -f jsr152/build.xml +} + +src_install () { + mv jsr{154,152}/dist/lib/*.jar ${S} + + if [ `use doc` ] ; then + mkdir docs + cd ${S}/jsr154/dist + mv docs ${S}/docs/servlet + mv examples ${S}/docs/servlet/examples + + cd ${S}/jsr152/dist + mv docs ${S}/docs/jsp + mv examples ${S}/docs/jsp/examples + fi + + cd ${S} + java-pkg_dojar *.jar || die "Unable to install" + use doc && dohtml -r docs/* +} + |