diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/jta | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jta')
-rw-r--r-- | dev-java/jta/Manifest | 3 | ||||
-rw-r--r-- | dev-java/jta/jta-1.1.ebuild | 47 | ||||
-rw-r--r-- | dev-java/jta/metadata.xml | 8 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-java/jta/Manifest b/dev-java/jta/Manifest new file mode 100644 index 000000000000..03d4a5223e60 --- /dev/null +++ b/dev-java/jta/Manifest @@ -0,0 +1,3 @@ +DIST jta-1_1-classes.zip 13236 BLAKE2B f2e1ffd531fce804d562c4cdcbe9b260d08eb2bcd79a879f94fbd3e23801849cbf311d8f7410a9776f9a8866027dcedcac479a64444321e8c6b2b23bd9a69054 SHA512 fb8b76223ccdec0ef97b00d7248d74b6316dd67c570667f3a644d03b05cd28af061a191cf71b6624fd4a4195f7bc107281eb847fc4c0ee4606c85c414da79a14 +EBUILD jta-1.1.ebuild 1038 BLAKE2B c7033edd634f33b8c3e578445b36c49b337cd49391ac20059fd041c3d95032904c9cb3e85bab1d8b57eec2519ca5ddbf4855e7e6c0fd407d6f28c9ba06d38cd4 SHA512 d23725de3801d5ec78b328a0162c3ab828745debcfdbbfb853d442386e991be5dbc207b15f6d4ab8f958ae9610d2ab6b195eca090482d67380f3b00c7dfb2beb +MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 diff --git a/dev-java/jta/jta-1.1.ebuild b/dev-java/jta/jta-1.1.ebuild new file mode 100644 index 000000000000..6293b663d002 --- /dev/null +++ b/dev-java/jta/jta-1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 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 ~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> |