summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-11-14 14:55:39 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-11-14 14:55:39 +0000
commitb570a3b0420d5653771907fb13949ad598cedf47 (patch)
tree9fda93bc4fe523035505c7a398f66b6e41630736 /dev-java/iso-relax/iso-relax-20041111.ebuild
parentInitial import. Thanks to Birce Arnould <98111@free.fr>, Athul Acharya <aacha... (diff)
downloadhistorical-b570a3b0420d5653771907fb13949ad598cedf47.tar.gz
historical-b570a3b0420d5653771907fb13949ad598cedf47.tar.bz2
historical-b570a3b0420d5653771907fb13949ad598cedf47.zip
initial import, ebuild submitted by Jan Brinkmann <lucky@the-luckyduck.de>
Diffstat (limited to 'dev-java/iso-relax/iso-relax-20041111.ebuild')
-rw-r--r--dev-java/iso-relax/iso-relax-20041111.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-java/iso-relax/iso-relax-20041111.ebuild b/dev-java/iso-relax/iso-relax-20041111.ebuild
new file mode 100644
index 000000000000..9d0396d04f43
--- /dev/null
+++ b/dev-java/iso-relax/iso-relax-20041111.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 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.1 2004/11/14 14:55:39 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Interfaces usefull for applications which support RELAX Core"
+SRC_URI="mirror://sourceforge/${PN}/isorelax.${PV}.zip"
+HOMEPAGE="http://iso-relax.sourceforge.net/"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="jikes"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-1.4
+ jikes? ( >=dev-java/jikes-1.21 )"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ rm -f isorelax.jar
+ mkdir src/
+ unzip -d src/ src.zip
+ rm -rf src/jp/gr/xml/relax/swift # this is obsolete and not needed
+ cp ${FILESDIR}/build.xml .
+}
+
+src_compile() {
+ antflags="release"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "compile failed"
+}
+
+src_install() {
+ java-pkg_dojar isorelax.jar || die "dojar failed"
+}