summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-10-13 15:36:19 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-10-13 15:36:19 +0000
commite1cb1a13f3e98cf9ab19967b1590dc4b9fb933f4 (patch)
treea3b446d288ca7c2aea0117694f766dee7fef487f /dev-java/mojarra/mojarra-2.2.12-r1.ebuild
parentdev-java/commons-jelly: tomcat-jstl dependency SLOT bump. (diff)
downloadgentoo-e1cb1a13f3e98cf9ab19967b1590dc4b9fb933f4.tar.gz
gentoo-e1cb1a13f3e98cf9ab19967b1590dc4b9fb933f4.tar.bz2
gentoo-e1cb1a13f3e98cf9ab19967b1590dc4b9fb933f4.zip
dev-java/mojarra: tomcat-jstl dependency SLOT bump.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/mojarra/mojarra-2.2.12-r1.ebuild')
-rw-r--r--dev-java/mojarra/mojarra-2.2.12-r1.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/mojarra/mojarra-2.2.12-r1.ebuild b/dev-java/mojarra/mojarra-2.2.12-r1.ebuild
new file mode 100644
index 000000000000..001f613ea9f1
--- /dev/null
+++ b/dev-java/mojarra/mojarra-2.2.12-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Project Mojarra - GlassFish's Implementation for JavaServer Faces API"
+HOMEPAGE="https://javaserverfaces.dev.java.net/"
+SRC_URI="https://maven.java.net/content/repositories/releases/org/glassfish/javax.faces/${PV}/javax.faces-${PV}-sources.jar"
+
+LICENSE="CDDL"
+SLOT="2.2"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+CDEPEND="dev-java/glassfish-persistence:0
+ dev-java/glassfish-ejb-api:0
+ java-virtuals/servlet-api:3.0
+ dev-java/tomcat-jstl-spec:0
+ dev-java/tomcat-jstl-impl:0
+ dev-java/validation-api:1.0
+ dev-java/javax-inject:0
+ dev-java/cdi-api:1.2"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+
+JAVA_SRC_DIR="src"
+
+JAVA_GENTOO_CLASSPATH="
+ glassfish-persistence
+ glassfish-ejb-api
+ tomcat-jstl-spec
+ tomcat-jstl-impl
+ validation-api-1.0
+ cdi-api-1.2
+ servlet-api-3.0
+ javax-inject
+"
+
+java_prepare() {
+ mkdir src || die
+ mv * src
+
+ # We *MUST* bump Groovy to 2.4 at some point
+ # to make this stuff work correctly.
+ rm -v src/com/sun/faces/scripting/groovy/GroovyHelperImpl.java || die
+ epatch "${FILESDIR}"/${P}-Util.java.patch
+}