summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-09 16:02:44 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-09 16:02:44 +0000
commit9253fff41b2a149d2e7907f87e1c613c7db0b7c8 (patch)
tree07a49912ceaeb1218564ce87f22818378fac0fa2 /dev-java/iso-relax
parentQA: Set S once (diff)
downloadhistorical-9253fff41b2a149d2e7907f87e1c613c7db0b7c8.tar.gz
historical-9253fff41b2a149d2e7907f87e1c613c7db0b7c8.tar.bz2
historical-9253fff41b2a149d2e7907f87e1c613c7db0b7c8.zip
fix deps, and source useflag support, small cleanups
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-java/iso-relax')
-rw-r--r--dev-java/iso-relax/ChangeLog5
-rw-r--r--dev-java/iso-relax/Manifest14
-rw-r--r--dev-java/iso-relax/iso-relax-20041111.ebuild13
3 files changed, 14 insertions, 18 deletions
diff --git a/dev-java/iso-relax/ChangeLog b/dev-java/iso-relax/ChangeLog
index 21a5fe4a8ae6..05d94b662c89 100644
--- a/dev-java/iso-relax/ChangeLog
+++ b/dev-java/iso-relax/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/iso-relax
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/iso-relax/ChangeLog,v 1.4 2005/05/12 21:45:23 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/iso-relax/ChangeLog,v 1.5 2005/07/09 16:02:44 axxo Exp $
+
+ 09 Jul 2005; Thomas Matthijs <axxo@gentoo.org> iso-relax-20041111.ebuild:
+ fix deps, and source useflag support, small cleanups
12 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
iso-relax-20041111.ebuild:
diff --git a/dev-java/iso-relax/Manifest b/dev-java/iso-relax/Manifest
index b43d45b96d6a..dcea8c91586b 100644
--- a/dev-java/iso-relax/Manifest
+++ b/dev-java/iso-relax/Manifest
@@ -1,15 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 1bdadc7779a8dc0570ab4e48be8f4c73 iso-relax-20041111.ebuild 1016
-MD5 062051f8d4eb03e62cf3ce673fcdd341 ChangeLog 783
+MD5 6403aaf92037918adc78e33eb982c93d iso-relax-20041111.ebuild 1157
+MD5 a9172e74e102304fc1456090ee99777c ChangeLog 915
MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
MD5 4467af450e2c64d807928bbd784d8012 files/digest-iso-relax-20041111 66
MD5 58122807af7666b9c9286aaf556d8f2a files/build.xml 1922
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFCg85906ebR+OMO78RAtDiAJwLj4JyMn4Hlc3pac+rX1uuH427OgCeI8NY
-KZr2z0vbDhhhqcxCcLxNePk=
-=Y82b
------END PGP SIGNATURE-----
diff --git a/dev-java/iso-relax/iso-relax-20041111.ebuild b/dev-java/iso-relax/iso-relax-20041111.ebuild
index e98383db9d74..d508bfff2d15 100644
--- a/dev-java/iso-relax/iso-relax-20041111.ebuild
+++ b/dev-java/iso-relax/iso-relax-20041111.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/iso-relax/iso-relax-20041111.ebuild,v 1.4 2005/05/12 21:45:23 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/iso-relax/iso-relax-20041111.ebuild,v 1.5 2005/07/09 16:02:44 axxo Exp $
inherit java-pkg
@@ -10,12 +10,13 @@ HOMEPAGE="http://iso-relax.sourceforge.net/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="x86 amd64 ~ppc"
-IUSE="jikes"
-DEPEND=">=virtual/jdk-1.4
+IUSE="jikes source"
+DEPEND="|| ( =virtual/jdk-1.4* =virtual/jdk-1.3* )
app-arch/unzip
dev-java/ant-core
+ source? ( app-arch/zip )
jikes? ( >=dev-java/jikes-1.21 )"
-RDEPEND=">=virtual/jre-1.4"
+RDEPEND="|| ( =virtual/jre-1.4* =virtual/jre-1.3* )"
S=${WORKDIR}
@@ -24,16 +25,18 @@ src_unpack() {
rm -f isorelax.jar
mkdir src/
unzip -d src/ src.zip
+ rm -r src/src
rm -rf src/jp/gr/xml/relax/swift # this is obsolete and not needed
cp ${FILESDIR}/build.xml .
}
src_compile() {
- antflags="release"
+ local antflags="release"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
ant ${antflags} || die "compile failed"
}
src_install() {
java-pkg_dojar isorelax.jar || die "dojar failed"
+ use source && java-pkg_dosrc src/*
}