summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-01-10 23:57:40 +0000
committerVlastimil Babka <caster@gentoo.org>2007-01-10 23:57:40 +0000
commitdee57f8774576c49544f9a6a7960b35d7d278cde (patch)
tree027dd5a7e4314209d4ad2973219241491d35d288 /dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild
parentFix some restart issues and unmount svcdir from 1.12 if needed. (diff)
downloadhistorical-dee57f8774576c49544f9a6a7960b35d7d278cde.tar.gz
historical-dee57f8774576c49544f9a6a7960b35d7d278cde.tar.bz2
historical-dee57f8774576c49544f9a6a7960b35d7d278cde.zip
New package, dependency for dev-java/hibernate. Previously developed in java overlay by nichoj, and fixed by betelgeuse with patch from Bernhard Frauendienst <gentoo@obeliks.de> in bug #160961.
Package-Manager: portage-2.1.2_rc4-r7
Diffstat (limited to 'dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild')
-rw-r--r--dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild b/dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild
new file mode 100644
index 000000000000..7c6f6a0d8bac
--- /dev/null
+++ b/dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild,v 1.1 2007/01/10 23:57:40 caster Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java Authorization Contract for Containers"
+HOMEPAGE="http://java.sun.com/j2ee/javaacc/index.html"
+# cvs -d :pserver:nichoj@cvs.dev.java.net:/cvs checkout glassfish/jacc-api
+# cd glassfish
+# mv jacc-api sun-jacc-api-${P}
+# tar --exclude=CVS -cjvf sun-jacc-api-${P}.tar.bz2 sun-jacc-api-${P}
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ =dev-java/servletapi-2.4*"
+RDEPEND=">=virtual/jre-1.4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # we need to patch the build file since we don't want to update an
+ # existing jar-archive but build a new one (called jcc-api.jar)
+ epatch ${FILESDIR}/20070102-jcc-api.patch
+ java-pkg_jar-from servletapi-2.4 servlet-api.jar
+}
+
+src_compile() {
+ eant -Djavaee.jar=servlet-api.jar
+}
+
+src_install() {
+ java-pkg_dojar jcc-api.jar
+}