summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-06-08 14:44:46 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-06-08 14:44:46 +0000
commit5135d442fb6aa212391411c0f57e73aeef5644a2 (patch)
tree2b62d77ad53268d7b32671ab7d243dffc561280f /dev-java/cdi-api
parentStable for amd64, wrt bug #550750 (diff)
downloadgentoo-2-5135d442fb6aa212391411c0f57e73aeef5644a2.tar.gz
gentoo-2-5135d442fb6aa212391411c0f57e73aeef5644a2.tar.bz2
gentoo-2-5135d442fb6aa212391411c0f57e73aeef5644a2.zip
Initial commit.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'dev-java/cdi-api')
-rw-r--r--dev-java/cdi-api/ChangeLog9
-rw-r--r--dev-java/cdi-api/cdi-api-1.2.ebuild38
-rw-r--r--dev-java/cdi-api/metadata.xml5
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/cdi-api/ChangeLog b/dev-java/cdi-api/ChangeLog
new file mode 100644
index 000000000000..988997c3750d
--- /dev/null
+++ b/dev-java/cdi-api/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/cdi-api
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cdi-api/ChangeLog,v 1.1 2015/06/08 14:44:46 monsieurp Exp $
+
+*cdi-api-1.2 (08 Jun 2015)
+
+ 08 Jun 2015; Patrice Clement <monsieurp@gentoo.org> +cdi-api-1.2.ebuild,
+ +metadata.xml:
+ Initial commit.
diff --git a/dev-java/cdi-api/cdi-api-1.2.ebuild b/dev-java/cdi-api/cdi-api-1.2.ebuild
new file mode 100644
index 000000000000..69ea52baa617
--- /dev/null
+++ b/dev-java/cdi-api/cdi-api-1.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cdi-api/cdi-api-1.2.ebuild,v 1.1 2015/06/08 14:44:46 monsieurp Exp $
+
+EAPI=5
+
+inherit eutils java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Contexts and Dependency Injection for the Java EE platform"
+HOMEPAGE="http://www.cdi-spec.org/"
+SRC_URI="https://repo1.maven.org/maven2/javax/enterprise/${PN}/${PV}/${P}-sources.jar"
+
+LICENSE="Apache-2.0"
+SLOT="1.2"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+CDEPEND="dev-java/javax-inject:0
+ dev-java/glassfish-interceptor-api:0
+ dev-java/tomcat-servlet-api:3.0"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+JAVA_SRC_DIR="src"
+
+JAVA_GENTOO_CLASSPATH="javax-inject,tomcat-servlet-api-3.0,glassfish-interceptor-api"
+
+java_prepare() {
+ mkdir src || die
+ mv * src
+}
diff --git a/dev-java/cdi-api/metadata.xml b/dev-java/cdi-api/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/cdi-api/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>