summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2004-01-18 07:01:04 +0000
committerAdrian Almenar <strider@gentoo.org>2004-01-18 07:01:04 +0000
commitca1ef02aabfdf9ccd97b1386a106d190922fc25c (patch)
tree289706bd2cc8f9b6bc5a49b518768385dec418db /dev-java/jta
parentAdded Sun JTA License (diff)
downloadgentoo-2-ca1ef02aabfdf9ccd97b1386a106d190922fc25c.tar.gz
gentoo-2-ca1ef02aabfdf9ccd97b1386a106d190922fc25c.tar.bz2
gentoo-2-ca1ef02aabfdf9ccd97b1386a106d190922fc25c.zip
Initial import. Ebuild submitted by Greg Bowyer <bg115@gre.ac.uk>. Made some fixes to the submitted ebuild.
Diffstat (limited to 'dev-java/jta')
-rw-r--r--dev-java/jta/ChangeLog9
-rw-r--r--dev-java/jta/Manifest3
-rw-r--r--dev-java/jta/files/digest-jta-1.0.11
-rw-r--r--dev-java/jta/jta-1.0.1.ebuild63
-rw-r--r--dev-java/jta/metadata.xml5
5 files changed, 81 insertions, 0 deletions
diff --git a/dev-java/jta/ChangeLog b/dev-java/jta/ChangeLog
new file mode 100644
index 000000000000..d5d42eb708a8
--- /dev/null
+++ b/dev-java/jta/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/jta
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jta/ChangeLog,v 1.1 2004/01/18 07:01:04 strider Exp $
+
+*jta-1.0.1 (16 Jan 2004)
+
+ 17 Jan 2004; Adrian Almenar <strider@gentoo.org> jta-1.0.1.ebuild:
+ Initial import. Ebuild submitted by Greg Bowyer <bg115@gre.ac.uk>.
+ Made some fixes to the submitted ebuild.
diff --git a/dev-java/jta/Manifest b/dev-java/jta/Manifest
new file mode 100644
index 000000000000..29ed5f9b544a
--- /dev/null
+++ b/dev-java/jta/Manifest
@@ -0,0 +1,3 @@
+MD5 d63d4b160a28fd5c2b10fe4b6b17f933 jta-1.0.1.ebuild 1442
+MD5 32f73a03a3295104d5c84d9df9f4fbb6 ChangeLog 303
+MD5 fbfe56b346327c85a8960db3c5667cbe files/digest-jta-1.0.1 65
diff --git a/dev-java/jta/files/digest-jta-1.0.1 b/dev-java/jta/files/digest-jta-1.0.1
new file mode 100644
index 000000000000..f4e34f6c39fa
--- /dev/null
+++ b/dev-java/jta/files/digest-jta-1.0.1
@@ -0,0 +1 @@
+MD5 c6e3e528816227b97f6b21f709641f8f jta-1_0_1B-classes.zip 8812
diff --git a/dev-java/jta/jta-1.0.1.ebuild b/dev-java/jta/jta-1.0.1.ebuild
new file mode 100644
index 000000000000..e15fe45c4ebc
--- /dev/null
+++ b/dev-java/jta/jta-1.0.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jta/jta-1.0.1.ebuild,v 1.1 2004/01/18 07:01:04 strider Exp $
+
+inherit java-pkg
+
+At="jta-1_0_1B-classes.zip"
+DESCRIPTION="The Java Transaction API (old and only really needed to build tomcat)"
+HOMEPAGE="http://java.sun.com/products/jta/"
+SRC_URI="${At}"
+LICENSE="sun-bcla-jta"
+SLOT=0
+KEYWORDS="~x86 ~sparc"
+IUSE=""
+DEPEND=">=app-arch/unzip-5.50-r1
+ >=virtual/jdk-1.3"
+RDEPEND=">=virtual/jdk-1.3"
+RESTRICT="fetch"
+
+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.0.1B Class Files 1.0.1B'"
+ einfo " 3. Download ${At}"
+ einfo " 4. Move file to ${DISTDIR}"
+ einfo " "
+}
+
+src_unpack() {
+ if [ ! -f "${DISTDIR}/${At}" ] ; then
+ echo " "
+ echo "!!! Missing ${DISTDIR}/${At}"
+ echo " "
+ einfo " "
+ einfo " Due to license restrictions, we cannot fetch the"
+ einfo " distributables automagically."
+ einfo " "
+ einfo " 1. Visit ${HOMEPAGE} and select 'Downloads'"
+ einfo " 2. Select 'Java Transaction API Specification 1.0.1B Class Files 1.0.1B'"
+ einfo " 3. Download ${At}"
+ einfo " 4. Move file to ${DISTDIR}"
+ einfo " 5. Run emerge on this package again to complete"
+ einfo " "
+ die "User must manually download distfile"
+ fi
+ unzip -qq ${DISTDIR}/${At}
+}
+
+src_compile() {
+ einfo " This is a binary-only ebuild."
+ einfo "Adding class files to a jar file."
+ cd ${WORKDIR}
+ jar cvf jta.jar javax/
+}
+
+src_install() {
+ cd ${WORKDIR}
+ 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..838c00a4a448
--- /dev/null
+++ b/dev-java/jta/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>