diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-07-12 13:27:26 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-07-12 13:27:26 +0000 |
commit | 9487dbd6a3c2298b8da14d2c64bda125ff00a8f9 (patch) | |
tree | 595b6c3b311ba0d48a5ade000338c79e95b7c14a /dev-java/jta | |
parent | dep/style fixes (diff) | |
download | historical-9487dbd6a3c2298b8da14d2c64bda125ff00a8f9.tar.gz historical-9487dbd6a3c2298b8da14d2c64bda125ff00a8f9.tar.bz2 historical-9487dbd6a3c2298b8da14d2c64bda125ff00a8f9.zip |
style fixes
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-java/jta')
-rw-r--r-- | dev-java/jta/Manifest | 10 | ||||
-rw-r--r-- | dev-java/jta/jta-1.0.1.ebuild | 31 |
2 files changed, 12 insertions, 29 deletions
diff --git a/dev-java/jta/Manifest b/dev-java/jta/Manifest index 8f8534eb81b3..3d570e96e0f3 100644 --- a/dev-java/jta/Manifest +++ b/dev-java/jta/Manifest @@ -1,14 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +MD5 7a4112ddfcacb649686230081630b984 jta-1.0.1.ebuild 1137 MD5 d9ce198d103180191f39674c5feb42fe ChangeLog 1120 -MD5 fbfe56b346327c85a8960db3c5667cbe files/digest-jta-1.0.1 65 -MD5 9f64ea5f23a701843ff632ecdfdc6287 jta-1.0.1.ebuild 1674 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 fbfe56b346327c85a8960db3c5667cbe files/digest-jta-1.0.1 65 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFC0APsI1lqEGTUzyQRAk3SAJ9gWy4tCK3ZmxI+WSj/CL21CqaOVQCdH+bk -Tof6JqGQBhCHVUVW+2M5qvw= -=j0Ul +iD8DBQFC08VV/rLF9B432nYRAn6CAJ9j9zCoYeoj+duENEiFZHGHVpCPEgCgyV8G +zNVv6x73GVGxkC5GhL25uCc= +=EVWX -----END PGP SIGNATURE----- diff --git a/dev-java/jta/jta-1.0.1.ebuild b/dev-java/jta/jta-1.0.1.ebuild index 6b830b7ef191..04d24d9d5a82 100644 --- a/dev-java/jta/jta-1.0.1.ebuild +++ b/dev-java/jta/jta-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 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.ebuild,v 1.11 2005/07/09 17:05:23 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jta/jta-1.0.1.ebuild,v 1.12 2005/07/12 13:27:26 axxo Exp $ inherit java-pkg @@ -14,9 +14,11 @@ KEYWORDS="x86 sparc ppc amd64 ppc64" IUSE="" DEPEND=">=app-arch/unzip-5.50-r1 >=virtual/jdk-1.3" -RDEPEND=">=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" @@ -26,38 +28,19 @@ pkg_nofetch() { 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() { - 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} + unzip -qq ${DISTDIR}/${At} || die "failed too unpack" } src_compile() { - einfo " This is a binary-only ebuild." - einfo "Adding class files to a jar file." - cd ${WORKDIR} - jar cvf jta.jar javax/ + jar cvf jta.jar javax/ || die "failed to create jar" } src_install() { - cd ${WORKDIR} java-pkg_dojar jta.jar } |