diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-11-14 14:55:39 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-11-14 14:55:39 +0000 |
commit | b570a3b0420d5653771907fb13949ad598cedf47 (patch) | |
tree | 9fda93bc4fe523035505c7a398f66b6e41630736 /dev-java/iso-relax | |
parent | Initial import. Thanks to Birce Arnould <98111@free.fr>, Athul Acharya <aacha... (diff) | |
download | historical-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')
-rw-r--r-- | dev-java/iso-relax/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/iso-relax/Manifest | 15 | ||||
-rw-r--r-- | dev-java/iso-relax/files/build.xml | 77 | ||||
-rw-r--r-- | dev-java/iso-relax/files/digest-iso-relax-20041111 | 1 | ||||
-rw-r--r-- | dev-java/iso-relax/iso-relax-20041111.ebuild | 38 | ||||
-rw-r--r-- | dev-java/iso-relax/metadata.xml | 5 |
6 files changed, 146 insertions, 0 deletions
diff --git a/dev-java/iso-relax/ChangeLog b/dev-java/iso-relax/ChangeLog new file mode 100644 index 000000000000..d5d992b26b84 --- /dev/null +++ b/dev-java/iso-relax/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/iso-relax +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/iso-relax/ChangeLog,v 1.1 2004/11/14 14:55:39 axxo Exp $ + +*iso-relax-20041111 (14 Nov 2004) + + 14 Nov 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml, + +files/build.xml, +iso-relax-20041111.ebuild: + initial import, ebuild submitted by Jan Brinkmann <lucky@the-luckyduck.de> + diff --git a/dev-java/iso-relax/Manifest b/dev-java/iso-relax/Manifest new file mode 100644 index 000000000000..4e582aa45193 --- /dev/null +++ b/dev-java/iso-relax/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 aa666b80225107819ea14a1ea945fdba iso-relax-20041111.ebuild 993 +MD5 be2a402cd6e75235e61caa41b7fefd68 ChangeLog 432 +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.2.6 (GNU/Linux) + +iD8DBQFBl3H+/rLF9B432nYRAtWOAJwKMikg9B9iioFHCOU8FbChTsduNgCgtkvT +tmBapd2NZqGQObWV//sXLvY= +=UVxF +-----END PGP SIGNATURE----- diff --git a/dev-java/iso-relax/files/build.xml b/dev-java/iso-relax/files/build.xml new file mode 100644 index 000000000000..da8722e368f8 --- /dev/null +++ b/dev-java/iso-relax/files/build.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<project name="ISORELAX" basedir="." default="release"> + + <!-- create a distribution package --> + <target name="release"> + <tstamp /> + + <!-- compile files --> + <mkdir dir="temp" /> + <javac srcdir="src" debug="true" + destdir="temp" + classpath="lib/verifier.jar"> + <include name="**/*.java" /> + </javac> + + <!-- create a time stamp file --> + <echo file="temp/version.properties">version=${DSTAMP}</echo> + + <!-- creates src zip --> + <delete file="src.zip"/> + <zip zipfile="src.zip" + compress="true"> + <fileset dir="src"> + <patternset> + <exclude name="*.vjp"/> + <exclude name="codebase.dat"/> + <exclude name="*.SRG"/> + </patternset> + </fileset> + </zip> + + <!-- creates binary jar --> + <delete file="isorelax.jar"/> + <jar jarfile="isorelax.jar" + compress="true"> + <fileset dir="temp" /> + <fileset dir="" includes="COPYING.txt"/> + <!-- resource files --> + <fileset dir="src"> + <patternset> + <include name="**/*.properties" /> + <include name="**/*.rxm"/> + <include name="**/*.dtd"/> + <include name="**/*.rng"/> + <include name="**/*.mod"/> + </patternset> + </fileset> + </jar> + <delete dir="temp" /> + + <zip zipfile="isorelax.${DSTAMP}.zip" compress="true"> + <fileset dir="." includes="isorelax.jar src.zip COPYING.txt"/> + </zip> + </target> + + + <!-- ant task test --> + <target name="ant-task-test"> + <taskdef name="jarv" classname="org.iso_relax.ant.JARVTask"> + <classpath path="isorelax.jar"/> + <classpath path="lib/verifier.jar"/> + <classpath path="lib/verifier.manifest.jar"/> + </taskdef> + + <jarv + schemaLanguage="http://www.xml.gr.jp/xmlns/relaxCore" + schema="test/relax001.rlx" + file="test/relax001.v00.xml" /> + + <jarv + schemaLanguage="http://www.xml.gr.jp/xmlns/relaxCore" + schema="test/relax001.rlx"> + + <fileset dir="test" includes="*.xml"/> + </jarv> + </target> +</project> diff --git a/dev-java/iso-relax/files/digest-iso-relax-20041111 b/dev-java/iso-relax/files/digest-iso-relax-20041111 new file mode 100644 index 000000000000..aa52b9f84fb2 --- /dev/null +++ b/dev-java/iso-relax/files/digest-iso-relax-20041111 @@ -0,0 +1 @@ +MD5 10381903828d30e36252910679fcbab6 isorelax.20041111.zip 108294 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" +} diff --git a/dev-java/iso-relax/metadata.xml b/dev-java/iso-relax/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/iso-relax/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> |