summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Thomson <wltjr@gentoo.org>2007-02-13 19:24:37 +0000
committerWilliam Thomson <wltjr@gentoo.org>2007-02-13 19:24:37 +0000
commit5f44658201332376f637ceb08bba32f2ea803355 (patch)
tree8af2066a0ab11d57e88948d32972aa27ebbc2de7 /dev-java/tomcat-servlet-api
parentFix white space and too long DESCRIPTION warnings from qualudis. (diff)
downloadgentoo-2-5f44658201332376f637ceb08bba32f2ea803355.tar.gz
gentoo-2-5f44658201332376f637ceb08bba32f2ea803355.tar.bz2
gentoo-2-5f44658201332376f637ceb08bba32f2ea803355.zip
Bumped package to latest development release
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-java/tomcat-servlet-api')
-rw-r--r--dev-java/tomcat-servlet-api/ChangeLog8
-rw-r--r--dev-java/tomcat-servlet-api/files/digest-tomcat-servlet-api-6.0.10_pre3
-rw-r--r--dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.10_pre.ebuild47
3 files changed, 57 insertions, 1 deletions
diff --git a/dev-java/tomcat-servlet-api/ChangeLog b/dev-java/tomcat-servlet-api/ChangeLog
index d48a7bf5b1af..287a9e2e296d 100644
--- a/dev-java/tomcat-servlet-api/ChangeLog
+++ b/dev-java/tomcat-servlet-api/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/tomcat-servlet-api
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/ChangeLog,v 1.11 2007/02/08 15:23:25 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/ChangeLog,v 1.12 2007/02/13 19:24:37 wltjr Exp $
+
+*tomcat-servlet-api-6.0.10_pre (13 Feb 2007)
+
+ 13 Feb 2007; William L. Thomson Jr. <wltjr@gentoo.org>
+ +tomcat-servlet-api-6.0.10_pre.ebuild:
+ Bumped package to latest development release
08 Feb 2007; William L. Thomson Jr. <wltjr@gentoo.org>
-tomcat-servlet-api-6.0.7_beta-r1.ebuild:
diff --git a/dev-java/tomcat-servlet-api/files/digest-tomcat-servlet-api-6.0.10_pre b/dev-java/tomcat-servlet-api/files/digest-tomcat-servlet-api-6.0.10_pre
new file mode 100644
index 000000000000..3dd91cc642dc
--- /dev/null
+++ b/dev-java/tomcat-servlet-api/files/digest-tomcat-servlet-api-6.0.10_pre
@@ -0,0 +1,3 @@
+MD5 cfbfa1812b6b46e767a4df5411424526 apache-tomcat-6.0.10-src.tar.gz 3221070
+RMD160 64762f16606645c6ef507906f2eb8eeb102173bb apache-tomcat-6.0.10-src.tar.gz 3221070
+SHA256 54ae6b89a3ac3e3e33a580708403ca4ea0a449f287b91e6246bb6a6550e39199 apache-tomcat-6.0.10-src.tar.gz 3221070
diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.10_pre.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.10_pre.ebuild
new file mode 100644
index 000000000000..30b875c90a88
--- /dev/null
+++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.10_pre.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.10_pre.ebuild,v 1.1 2007/02/13 19:24:37 wltjr Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_A="apache-${P/_pre/}-src"
+MY_P="${MY_A/-servlet-api/}"
+DESCRIPTION="Tomcat's Servlet API 2.5/JSP API 2.1 implementation"
+HOMEPAGE="http://tomcat.apache.org/"
+#SRC_URI="mirror://apache/jakarta/tomcat-6/v${PV/_/-}/src/${MY_P}.tar.gz"
+SRC_URI="http://people.apache.org/~remm/tomcat-6/v${PV/_pre/}/src/${MY_P}.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="2.5"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="source"
+
+DEPEND="|| ( >=virtual/jdk-1.5 >=virtual/jdk-1.6 )
+ source? ( app-arch/zip )"
+RDEPEND="|| ( >=virtual/jre-1.5 >=virtual/jre-1.6 )"
+
+S="${WORKDIR}/${MY_P}/"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ cp ${FILESDIR}/${SLOT}-build.xml build.xml || die "Could not replace build.xml"
+ rm */*/build.xml
+}
+
+src_compile() {
+# local antflags="jar $(use_doc javadoc examples)"
+ local antflags="jar"
+ eant ${antflags}
+}
+
+src_install() {
+ cd "${S}/output/build/lib"
+ java-pkg_dojar *.jar
+# use doc && java-pkg_dohtml -r docs/*
+ if use source; then
+ cd "${S}"
+ java-pkg_dosrc java/javax/servlet/
+ fi
+}