diff options
author | Ruben Bressler <ruben.bressler@cerpamid.co.cu> | 2010-08-03 19:37:09 -0400 |
---|---|---|
committer | Ruben Bressler <ruben.bressler@cerpamid.co.cu> | 2010-08-03 19:37:09 -0400 |
commit | 6e97d45755bb6cd76c7b6c9c288b66bb787f2ee6 (patch) | |
tree | ee92632ffe98d1d6f5ed8c32b4a1080e63cbbed2 | |
parent | 20100803 - Cambio automático (diff) | |
download | rubenqba-6e97d45755bb6cd76c7b6c9c288b66bb787f2ee6.tar.gz rubenqba-6e97d45755bb6cd76c7b6c9c288b66bb787f2ee6.tar.bz2 rubenqba-6e97d45755bb6cd76c7b6c9c288b66bb787f2ee6.zip |
adicionando jta-1.1
-rw-r--r-- | dev-java/jta/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jta/jta-1.1.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/jta/Manifest b/dev-java/jta/Manifest new file mode 100644 index 0000000..1a445bf --- /dev/null +++ b/dev-java/jta/Manifest @@ -0,0 +1,2 @@ +DIST jta-1_1-classes.zip 13236 RMD160 6aa85a42602d8f06b179bbadbaa583d6536bd794 SHA1 d3b80bef03168fb92b50d6d7c3a3a9611fcc0143 SHA256 6202127f8e3fe63ebbaa8c3ddf455bae862d5563b4c210ea29484df52ce505da +EBUILD jta-1.1.ebuild 1146 RMD160 2fc154ff4f120f6963c027e5539c28a0c085d6a2 SHA1 a4c0632e1542f89ce8cfa53e13fe181121be23bf SHA256 f680dae1e9c429a1c3421265730596eece3f623ce995b0f179856e60a91591d9 diff --git a/dev-java/jta/jta-1.1.ebuild b/dev-java/jta/jta-1.1.ebuild new file mode 100644 index 0000000..2eb6524 --- /dev/null +++ b/dev-java/jta/jta-1.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 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.8 2010/01/03 21:11:18 fauli Exp $ + +inherit java-pkg-2 + +At="jta-1_1-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 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" +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 +} + |