summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-02-23 22:01:02 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-02-23 22:01:02 +0000
commit3049a19ed7b5c26436209778c57e8ad24c54a101 (patch)
tree2e3df6badfda67c96cf81145046504016a7b6140 /dev-java/mojarra
parentarm stable (diff)
downloadgentoo-2-3049a19ed7b5c26436209778c57e8ad24c54a101.tar.gz
gentoo-2-3049a19ed7b5c26436209778c57e8ad24c54a101.tar.bz2
gentoo-2-3049a19ed7b5c26436209778c57e8ad24c54a101.zip
Initial commit.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/mojarra')
-rw-r--r--dev-java/mojarra/ChangeLog10
-rw-r--r--dev-java/mojarra/metadata.xml8
-rw-r--r--dev-java/mojarra/mojarra-1.2.14.ebuild68
3 files changed, 86 insertions, 0 deletions
diff --git a/dev-java/mojarra/ChangeLog b/dev-java/mojarra/ChangeLog
new file mode 100644
index 000000000000..51374e4327c4
--- /dev/null
+++ b/dev-java/mojarra/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/mojarra
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mojarra/ChangeLog,v 1.1 2010/02/23 22:01:02 nelchael Exp $
+
+*mojarra-1.2.14 (23 Feb 2010)
+
+ 23 Feb 2010; Krzysiek Pawlik <nelchael@gentoo.org> +mojarra-1.2.14.ebuild,
+ +metadata.xml:
+ Initial commit.
+
diff --git a/dev-java/mojarra/metadata.xml b/dev-java/mojarra/metadata.xml
new file mode 100644
index 000000000000..39fffcd80808
--- /dev/null
+++ b/dev-java/mojarra/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>nelchael@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-java/mojarra/mojarra-1.2.14.ebuild b/dev-java/mojarra/mojarra-1.2.14.ebuild
new file mode 100644
index 000000000000..132ea83d98e8
--- /dev/null
+++ b/dev-java/mojarra/mojarra-1.2.14.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mojarra/mojarra-1.2.14.ebuild,v 1.1 2010/02/23 22:01:02 nelchael Exp $
+
+EAPI=3
+
+JAVA_PKG_IUSE="source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_PV="$(get_version_component_range 1-2)_$(get_version_component_range 3)"
+
+DESCRIPTION="Project Mojarra - GlassFish's Implementation for JavaServer Faces API"
+HOMEPAGE="https://javaserverfaces.dev.java.net/"
+SRC_URI="https://javaserverfaces.dev.java.net/files/documents/1866/146227/${PN}-${MY_PV}-source.zip
+ mirror://gentoo/${PN}-${MY_PV}-gentoo.patch.bz2"
+
+LICENSE="CDDL"
+SLOT="1.2"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+COMMON_DEP=""
+
+RDEPEND=">=virtual/jre-1.6
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ dev-java/ant-contrib
+ dev-java/commons-beanutils:1.6
+ dev-java/commons-collections
+ dev-java/commons-digester
+ dev-java/commons-logging
+ dev-java/glassfish-servlet-api:2.5
+ dev-java/jakarta-jstl
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${PN}-${MY_PV}-b01-FCS-sources"
+
+src_prepare() {
+ epatch "${DISTDIR}/${PN}-${MY_PV}-gentoo.patch.bz2"
+
+ mkdir -p "${S}/dependencies/jars" || die
+
+ find -name '*.jar' -exec rm -f {} \;
+
+ cd "${S}/common/lib/"
+ java-pkg_jarfrom --build-only ant-contrib
+
+ cd "${S}/dependencies/jars"
+ java-pkg_jarfrom --build-only commons-digester
+ java-pkg_jarfrom --build-only commons-logging
+ java-pkg_jarfrom --build-only commons-collections
+ java-pkg_jarfrom --build-only commons-beanutils-1.6
+ java-pkg_jarfrom --build-only glassfish-servlet-api-2.5
+ java-pkg_jarfrom --build-only jakarta-jstl
+}
+
+src_compile() {
+ cd "${S}/jsf-api"
+ eant -Djsf.build.home="${S}" -Dcontainer.name=glassfish jars
+}
+
+src_install() {
+ java-pkg_dojar "${S}/jsf-api/build/lib/jsf-api.jar"
+ use source && java-pkg_dosrc "${S}"/jsf-api/src/*
+}