summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/glassfish-ejb-api')
-rw-r--r--dev-java/glassfish-ejb-api/Manifest1
-rw-r--r--dev-java/glassfish-ejb-api/glassfish-ejb-api-3.2.ebuild39
-rw-r--r--dev-java/glassfish-ejb-api/metadata.xml5
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/glassfish-ejb-api/Manifest b/dev-java/glassfish-ejb-api/Manifest
new file mode 100644
index 000000000000..229871c8a576
--- /dev/null
+++ b/dev-java/glassfish-ejb-api/Manifest
@@ -0,0 +1 @@
+DIST glassfish-ejb-api-3.2.tar.xz 37052 SHA256 99ca1715de72ca845d371ea80734ce8de649ec45b8a5cc43d856c74cdd900cc8 SHA512 1692bbff05242b0af5141b35151ff65f029e19f45c5dac07ed9b706635e3f42d8d512819f38a49b564c9dee51be33c36fb871ea5267000536a0fb1e1b5d6a00a WHIRLPOOL eab989e055f6befcff812ab52f46a2855ddcd80bdbe90f2737bf4b9d5072cdf609dcb53a06a4330918afe7bb13bc970e04ba28e84d060ada65350bdcfa6787e3
diff --git a/dev-java/glassfish-ejb-api/glassfish-ejb-api-3.2.ebuild b/dev-java/glassfish-ejb-api/glassfish-ejb-api-3.2.ebuild
new file mode 100644
index 000000000000..0f45f4568234
--- /dev/null
+++ b/dev-java/glassfish-ejb-api/glassfish-ejb-api-3.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+TOMEE_PV="1.5.2"
+
+DESCRIPTION="Project GlassFish Enterprise JavaBean API"
+HOMEPAGE="https://glassfish.java.net/"
+SRC_URI="http://dev.gentoo.org/~tomwij/files/dist/${P}.tar.xz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="java-virtuals/xmlrpc-api:0
+ java-virtuals/transaction-api:0"
+
+DEPEND=">=virtual/jdk-1.7
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.7
+ ${CDEPEND}"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="xmlrpc-api,transaction-api"
+JAVA_PKG_BSFIX_NAME="maven-build.xml"
+
+src_install() {
+ java-pkg_newjar target/javax.ejb-api-${PV}.jar
+
+ use doc && java-pkg_dojavadoc target/site/apidocs
+ use source && java-pkg_dosrc src/main/java/javax
+}
diff --git a/dev-java/glassfish-ejb-api/metadata.xml b/dev-java/glassfish-ejb-api/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/glassfish-ejb-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>