summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-05-23 08:23:10 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-05-23 08:23:10 +0000
commit6990d00d6e73b3053691b1595f1541cc967c0c84 (patch)
treef3262f646e47ea7960c301014243058472a3d012 /dev-java/glassfish-connector-api
parent23 May 2009; Zac Medico <zmedico@gentoo.org> +libsyncml-0.4.6-r1.ebuild: (diff)
downloadgentoo-2-6990d00d6e73b3053691b1595f1541cc967c0c84.tar.gz
gentoo-2-6990d00d6e73b3053691b1595f1541cc967c0c84.tar.bz2
gentoo-2-6990d00d6e73b3053691b1595f1541cc967c0c84.zip
New package. Needed for version bumping commons-transaction. Ebuild based on glassfish-jms-api and done by me.
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'dev-java/glassfish-connector-api')
-rw-r--r--dev-java/glassfish-connector-api/ChangeLog11
-rw-r--r--dev-java/glassfish-connector-api/glassfish-connector-api-1.1.2.2.04.ebuild47
-rw-r--r--dev-java/glassfish-connector-api/metadata.xml5
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-java/glassfish-connector-api/ChangeLog b/dev-java/glassfish-connector-api/ChangeLog
new file mode 100644
index 000000000000..2affeaa445ad
--- /dev/null
+++ b/dev-java/glassfish-connector-api/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/glassfish-connector-api
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-connector-api/ChangeLog,v 1.1 2009/05/23 08:23:10 betelgeuse Exp $
+
+*glassfish-connector-api-1.1.2.2.04 (23 May 2009)
+
+ 23 May 2009; Petteri Räty <betelgeuse@gentoo.org>
+ +glassfish-connector-api-1.1.2.2.04.ebuild, +metadata.xml:
+ New package. Needed for version bumping commons-transaction. Ebuild based
+ on glassfish-jms-api and done by me.
+
diff --git a/dev-java/glassfish-connector-api/glassfish-connector-api-1.1.2.2.04.ebuild b/dev-java/glassfish-connector-api/glassfish-connector-api-1.1.2.2.04.ebuild
new file mode 100644
index 000000000000..79a69b09e84e
--- /dev/null
+++ b/dev-java/glassfish-connector-api/glassfish-connector-api-1.1.2.2.04.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-connector-api/glassfish-connector-api-1.1.2.2.04.ebuild,v 1.1 2009/05/23 08:23:10 betelgeuse Exp $
+
+EAPI="2"
+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_BUILD_TARGET="all"
+EANT_EXTRA_ARGS="-Djavaee.jar=\"${S}/${PN}.jar\""
+EANT_DOC_TARGET="javadocs"
+
+src_install() {
+ java-pkg_dojar *.jar
+ use doc && java-pkg_dojavadoc docs
+ use source && java-pkg_dosrc src/java/javax
+}
diff --git a/dev-java/glassfish-connector-api/metadata.xml b/dev-java/glassfish-connector-api/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/glassfish-connector-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>