summaryrefslogtreecommitdiff
path: root/dev-java/jta
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jta
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jta')
-rw-r--r--dev-java/jta/Manifest5
-rw-r--r--dev-java/jta/jta-1.1.ebuild47
-rw-r--r--dev-java/jta/metadata.xml8
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-java/jta/Manifest b/dev-java/jta/Manifest
new file mode 100644
index 000000000000..c9c53618f09a
--- /dev/null
+++ b/dev-java/jta/Manifest
@@ -0,0 +1,5 @@
+DIST jta-1_1-classes.zip 13236 SHA256 6202127f8e3fe63ebbaa8c3ddf455bae862d5563b4c210ea29484df52ce505da SHA512 fb8b76223ccdec0ef97b00d7248d74b6316dd67c570667f3a644d03b05cd28af061a191cf71b6624fd4a4195f7bc107281eb847fc4c0ee4606c85c414da79a14 WHIRLPOOL c6b97d35eb09cd027596594ce009c251cc61014ceacd7d49748eb157ddbec6700eb29d07a4f9fd0d6273652cd83e067fc7f2a4d99e584ad13c7f13c2f8a07271
+EBUILD jta-1.1.ebuild 1048 SHA256 4342272e47c34e230a3c9a2a8667e1217c2eac8827af17e6954c21b30469d2da SHA512 f8d6bc92cddfcb63d5d0f67958d616bd0a3247c4ea08faa90277039bc2bab07eb7f9a5fc2f00d4cd7a26d4073925d42cbc039423ccd86891624732b69c09e6db WHIRLPOOL 168be971afddd58f95900586b51ec0f41fac9a7008ea8f44e748ab6bca07a1b36ca6243e48410c855291ab833a66f3ffd733055d5c300a42a1fe32b5a6972f25
+MISC ChangeLog 2616 SHA256 e689acf0c5301e249fec315d2c7a97f8e046c6d3a03add51e44ab29e0d0811b0 SHA512 71c657e9facf8d116bd72011cf8aee251ac7fd90b9dcb8dd6ad56c9bc80d89c1987b72d4e9ab8315a8f4961c246d575630edb86533f19c807d83e3df3f85d5ca WHIRLPOOL a2f0a27b6055eef903b70992a7c5c410e666603797945fe44af2e5dcdd2c78134e21459cda68368ab0980bda02bb4ef87504d3533ae8fb84023801951fa8e770
+MISC ChangeLog-2015 2550 SHA256 adb058db361e31d831ff150feb549632ed5f91ad01d9df8930ff6f6247a8fcb8 SHA512 35a77ec190e191994e8fe34de440ffe54a1b7c90f9b264cf75660fb2cf1b096abd0915626d496e01635c6e680a1e5f62fb24e6374f8317fc94b65a41cfeda50e WHIRLPOOL f53e5f5da4dace6a6044ddb6ee955187a3548b0fc1d9b2940dc0327871f99e59385f47d93aade92f077a9472eba8c69a2c99eb303f1e7b4b284bef87627bd2f7
+MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac
diff --git a/dev-java/jta/jta-1.1.ebuild b/dev-java/jta/jta-1.1.ebuild
new file mode 100644
index 000000000000..44221ddef4d8
--- /dev/null
+++ b/dev-java/jta/jta-1.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JTA_ZIP="jta-1_1-classes.zip"
+
+inherit java-pkg-2
+
+DESCRIPTION="The Java Transaction API"
+HOMEPAGE="http://www.oracle.com/technetwork/java/javaee/jta/index.html"
+SRC_URI="${JTA_ZIP}"
+LICENSE="sun-bcla-jta"
+SLOT=0
+KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+
+DEPEND=" >=virtual/jdk-1.5"
+RDEPEND=">=virtual/jre-1.5"
+
+RESTRICT="fetch"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+ einfo
+ einfo " Due to license restrictions, we cannot fetch the"
+ einfo " distributables automagically."
+ einfo
+ einfo " 1. Visit ${HOMEPAGE}"
+ einfo " 2. Select 'Java Transaction API Specification 1.1 Maintenance Release'"
+ einfo " 3. Download ${JTA_ZIP}"
+ einfo " 4. Move file to ${DISTDIR}"
+ einfo " 5. Restart the emerge process"
+ einfo
+}
+
+src_unpack() {
+ unzip -qq "${DISTDIR}"/${JTA_ZIP} || die "failed to unpack"
+}
+
+src_compile() {
+ jar cvf jta.jar javax/ || die "failed to create jar"
+}
+
+src_install() {
+ java-pkg_dojar jta.jar
+}
diff --git a/dev-java/jta/metadata.xml b/dev-java/jta/metadata.xml
new file mode 100644
index 000000000000..2444066aa02b
--- /dev/null
+++ b/dev-java/jta/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>