diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-08-03 11:08:35 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-08-03 11:08:35 +0000 |
commit | 600c1fbd6f1d035c5fc92bfa7f65381b2488ada5 (patch) | |
tree | 096fd9b181a659a0d105a10ace6674ea9a08bfbb /dev-java | |
parent | Migrated to generation 2 Java build system. (diff) | |
download | gentoo-2-600c1fbd6f1d035c5fc92bfa7f65381b2488ada5.tar.gz gentoo-2-600c1fbd6f1d035c5fc92bfa7f65381b2488ada5.tar.bz2 gentoo-2-600c1fbd6f1d035c5fc92bfa7f65381b2488ada5.zip |
Migrated to generation 2 Java build system.
(Portage version: 2.1.1_pre4-r2)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jta/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/jta/files/digest-jta-1.0.1 | 2 | ||||
-rw-r--r-- | dev-java/jta/files/digest-jta-1.0.1-r1 | 3 | ||||
-rw-r--r-- | dev-java/jta/jta-1.0.1-r1.ebuild | 45 |
4 files changed, 56 insertions, 1 deletions
diff --git a/dev-java/jta/ChangeLog b/dev-java/jta/ChangeLog index 8edb2032320d..da5b76d40e24 100644 --- a/dev-java/jta/ChangeLog +++ b/dev-java/jta/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jta # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jta/ChangeLog,v 1.11 2006/05/14 20:44:05 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jta/ChangeLog,v 1.12 2006/08/03 11:08:35 nelchael Exp $ + +*jta-1.0.1-r1 (03 Aug 2006) + + 03 Aug 2006; Krzysiek Pawlik <nelchael@gentoo.org> +jta-1.0.1-r1.ebuild: + Migrated to generation 2 Java build system. 14 May 2006; Petteri Räty <betelgeuse@gentoo.org> jta-1.0.1.ebuild: Removed (old and only really needed to build tomcat) from DESCRIPTION as diff --git a/dev-java/jta/files/digest-jta-1.0.1 b/dev-java/jta/files/digest-jta-1.0.1 index f4e34f6c39fa..7362e46277a7 100644 --- a/dev-java/jta/files/digest-jta-1.0.1 +++ b/dev-java/jta/files/digest-jta-1.0.1 @@ -1 +1,3 @@ MD5 c6e3e528816227b97f6b21f709641f8f jta-1_0_1B-classes.zip 8812 +RMD160 52d00783bc3041dc11b2c21b6e30d038e7860074 jta-1_0_1B-classes.zip 8812 +SHA256 5bc89d0a1caecd25e9323144624fd26df4326c84da8658f08f5cc588ee25cca9 jta-1_0_1B-classes.zip 8812 diff --git a/dev-java/jta/files/digest-jta-1.0.1-r1 b/dev-java/jta/files/digest-jta-1.0.1-r1 new file mode 100644 index 000000000000..7362e46277a7 --- /dev/null +++ b/dev-java/jta/files/digest-jta-1.0.1-r1 @@ -0,0 +1,3 @@ +MD5 c6e3e528816227b97f6b21f709641f8f jta-1_0_1B-classes.zip 8812 +RMD160 52d00783bc3041dc11b2c21b6e30d038e7860074 jta-1_0_1B-classes.zip 8812 +SHA256 5bc89d0a1caecd25e9323144624fd26df4326c84da8658f08f5cc588ee25cca9 jta-1_0_1B-classes.zip 8812 diff --git a/dev-java/jta/jta-1.0.1-r1.ebuild b/dev-java/jta/jta-1.0.1-r1.ebuild new file mode 100644 index 000000000000..e426362c1b90 --- /dev/null +++ b/dev-java/jta/jta-1.0.1-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jta/jta-1.0.1-r1.ebuild,v 1.1 2006/08/03 11:08:35 nelchael Exp $ + +inherit java-pkg-2 + +At="jta-1_0_1B-classes.zip" +DESCRIPTION="The Java Transaction API" +HOMEPAGE="http://java.sun.com/products/jta/" +SRC_URI="${At}" +LICENSE="sun-bcla-jta" +SLOT=0 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +DEPEND=">=app-arch/unzip-5.50-r1 + >=virtual/jdk-1.3" +RDEPEND=">=virtual/jre-1.3" +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.0.1B Class Files 1.0.1B'" + einfo " 3. Download ${At}" + einfo " 4. Move file to ${DISTDIR}" + einfo " 5. Restart the emerge process" + einfo +} + +src_unpack() { + unzip -qq ${DISTDIR}/${At} || die "failed too unpack" +} + +src_compile() { + jar cvf jta.jar javax/ || die "failed to create jar" +} + +src_install() { + java-pkg_dojar jta.jar +} |