summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/glassfish-servlet-api/glassfish-servlet-api-2_beta44.ebuild')
-rw-r--r--dev-java/glassfish-servlet-api/glassfish-servlet-api-2_beta44.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/glassfish-servlet-api/glassfish-servlet-api-2_beta44.ebuild b/dev-java/glassfish-servlet-api/glassfish-servlet-api-2_beta44.ebuild
new file mode 100644
index 000000000000..fc69156a8770
--- /dev/null
+++ b/dev-java/glassfish-servlet-api/glassfish-servlet-api-2_beta44.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-servlet-api/glassfish-servlet-api-2_beta44.ebuild,v 1.1 2007/04/27 20:37:12 wltjr Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit base java-pkg-2 java-ant-2
+
+MY_PV="${PV/_beta/-b}"
+DESCRIPTION="Glassfish reference implementation of Servlet API 2.5 and JSP API 2.1"
+HOMEPAGE="https://glassfish.dev.java.net/javaee5/webtier/webtierhome.html"
+SRC_URI="http://download.java.net/javaee5/trunk/promoted/source/glassfish-v${MY_PV}-src.zip"
+LICENSE="CDDL"
+SLOT="2.5"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip"
+
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}/glassfish/servlet-api/"
+
+PATCHES="${FILESDIR}/build_xml.patch"
+
+src_compile() {
+ eant build $(use doc || echo -Ddocs.uptodate=true)
+}
+
+src_install() {
+ java-pkg_dojar "${S}"/src/jakarta-servletapi-5/jsr154/dist/lib/*.jar
+ java-pkg_dojar "${S}"/src/jsr245/dist/lib/*.jar
+
+ use doc && java-pkg_dojavadoc src/jsr245/build/docs/api
+ use source && java-pkg_dosrc src/*
+}