summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/glassfish-transaction-api/ChangeLog10
-rw-r--r--dev-java/glassfish-transaction-api/Manifest4
-rw-r--r--dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild44
-rw-r--r--dev-java/glassfish-transaction-api/metadata.xml5
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-java/glassfish-transaction-api/ChangeLog b/dev-java/glassfish-transaction-api/ChangeLog
new file mode 100644
index 000000000000..9b0f7ad3c67a
--- /dev/null
+++ b/dev-java/glassfish-transaction-api/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/glassfish-transaction-api
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-transaction-api/ChangeLog,v 1.1 2008/08/03 22:21:25 betelgeuse Exp $
+
+*glassfish-transaction-api-1.1.2.2.04 (03 Aug 2008)
+
+ 03 Aug 2008; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml,
+ +glassfish-transaction-api-1.1.2.2.04.ebuild:
+ Initial addition. Ebuild written by me.
+
diff --git a/dev-java/glassfish-transaction-api/Manifest b/dev-java/glassfish-transaction-api/Manifest
new file mode 100644
index 000000000000..2e674f9c9f99
--- /dev/null
+++ b/dev-java/glassfish-transaction-api/Manifest
@@ -0,0 +1,4 @@
+DIST glassfish-v2ur2-b04-src.zip 39817113 RMD160 452a0ae36be311ca451d748389b34901172c20ab SHA1 7f5edcf01920d0df660bb64389feed6be69c92df SHA256 b554e618ed8edddd8f77de15a800b7d374edbfe1814196125c1e9ee7634ba388
+EBUILD glassfish-transaction-api-1.1.2.2.04.ebuild 1017 RMD160 da9cecc7a01a9f72ceddbd982971dee82f163488 SHA1 9c7f4a13134c4aaa44d4b557d6018d87abc61d23 SHA256 0197dbbef2381e78fb6ade2023ee63813193bc79019da351a49293b2519df25f
+MISC ChangeLog 347 RMD160 e9278e8552ae886baa71cb523bef94502b37f529 SHA1 92beffbda3f78e84b5ded3604322b3371540894d SHA256 550e7b9d2364801274e5bd79b9a10aaca5519de181919ad121282d2fe9f06104
+MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
diff --git a/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild b/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild
new file mode 100644
index 000000000000..1ae987a05913
--- /dev/null
+++ b/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild,v 1.1 2008/08/03 22:21:25 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit versionator java-pkg-2 java-ant-2
+
+DESCRIPTION="Java Transaction API"
+HOMEPAGE="https://glassfish.dev.java.net/"
+MAJOR=v$(get_version_component_range 3-4)
+MAJOR=$(replace_version_separator 1 ur ${MAJOR})
+MY_PV=${MAJOR}-b$(get_version_component_range 5)
+MY_PN=${PN/-//}
+ZIP="glassfish-${MY_PV}-src.zip"
+SRC_URI="http://download.java.net/javaee5/${MAJOR}/promoted/source/${ZIP}"
+
+LICENSE="|| ( CDDL GPL-2 )"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unzip -q "${DISTDIR}/${ZIP}" "${MY_PN}/*" "glassfish/bootstrap/*" \
+ || die "unpacking failed"
+ einfo "${S}"
+}
+
+EANT_DOC_TARGET="javadocs"
+
+src_install() {
+ java-pkg_dojar build/release/*.jar
+ use doc && java-pkg_dojavadoc docs
+ use source && java-pkg_dosrc src/java/javax
+}
diff --git a/dev-java/glassfish-transaction-api/metadata.xml b/dev-java/glassfish-transaction-api/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/glassfish-transaction-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>