summaryrefslogtreecommitdiff
path: root/dev-java/glassfish-jms-api
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/glassfish-jms-api
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/glassfish-jms-api')
-rw-r--r--dev-java/glassfish-jms-api/Manifest3
-rw-r--r--dev-java/glassfish-jms-api/glassfish-jms-api-1.1.2.2.04.ebuild52
-rw-r--r--dev-java/glassfish-jms-api/metadata.xml8
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-java/glassfish-jms-api/Manifest b/dev-java/glassfish-jms-api/Manifest
new file mode 100644
index 000000000000..a1a0c74c4d8a
--- /dev/null
+++ b/dev-java/glassfish-jms-api/Manifest
@@ -0,0 +1,3 @@
+DIST glassfish-v2ur2-b04-src.zip 39817113 BLAKE2B 4aeb0df44f838c91fa8dd52e2a4985e86457f75cec3cd5d527de54f672afcd2824cefaad9d9e67c5ce096515e389bb2fc0874d76ce2ec86a956233f2c3508439 SHA512 4ddf75ad1b81cfb8fc0b772fc75f9a81d74b6239282770d5da0ed70a7cd8b5fca2fd8c95782a2946ed054b43ee8e17edaf47d79c749e89280131bf1d15b1dcf8
+EBUILD glassfish-jms-api-1.1.2.2.04.ebuild 1235 BLAKE2B 553972605cc58642f29f0445f2a2080416c1cc1c7eb89f8c51f90ce2249205b605cd9d9bfbb329d5fb873ce3629e2373269994f82156d5477d0a741deabcc4a6 SHA512 f3ab5eb4ac6455d0dd577b4b1e295d8fed169e9962472989d816c85d3c3d029cc44d65e28e5e3a7170fe0af88d48e94284bd7596d0bb4d7315f0b18ea5d09446
+MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253
diff --git a/dev-java/glassfish-jms-api/glassfish-jms-api-1.1.2.2.04.ebuild b/dev-java/glassfish-jms-api/glassfish-jms-api-1.1.2.2.04.ebuild
new file mode 100644
index 000000000000..a19cf3b26787
--- /dev/null
+++ b/dev-java/glassfish-jms-api/glassfish-jms-api-1.1.2.2.04.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="~amd64 ~arm ~arm64 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=""
+
+src_compile() {
+ java-pkg-2_src_compile
+ if use doc; then
+ javadoc -d javadoc -sourcepath src/java -subpackages javax || die "javadoc failed"
+ fi
+}
+src_install() {
+ java-pkg_dojar *.jar
+ use doc && java-pkg_dojavadoc javadoc
+ use source && java-pkg_dosrc src/java/javax
+}
diff --git a/dev-java/glassfish-jms-api/metadata.xml b/dev-java/glassfish-jms-api/metadata.xml
new file mode 100644
index 000000000000..952a4b9b605c
--- /dev/null
+++ b/dev-java/glassfish-jms-api/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+</pkgmetadata>