Initial commit of rngom.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 1 May 2007 18:41:46 +0000 (18:41 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 1 May 2007 18:41:46 +0000 (18:41 +0000)
Package-Manager: portage-2.1.2.5

dev-java/rngom/ChangeLog [new file with mode: 0644]
dev-java/rngom/files/build.xml-20051226 [new file with mode: 0644]
dev-java/rngom/files/digest-rngom-20051226 [new file with mode: 0644]
dev-java/rngom/metadata.xml [new file with mode: 0644]
dev-java/rngom/rngom-20051226.ebuild [new file with mode: 0644]

diff --git a/dev-java/rngom/ChangeLog b/dev-java/rngom/ChangeLog
new file mode 100644 (file)
index 0000000..eebd8ab
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/rngom
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rngom/ChangeLog,v 1.1 2007/05/01 18:41:46 nelchael Exp $
+
+*rngom-20051226 (01 May 2007)
+
+  01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+  +files/build.xml-20051226, +metadata.xml, +rngom-20051226.ebuild:
+  Initial commit of rngom.
+
diff --git a/dev-java/rngom/files/build.xml-20051226 b/dev-java/rngom/files/build.xml-20051226
new file mode 100644 (file)
index 0000000..cc3cf5b
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<project name="rngom" default="jar" basedir=".">
+  <target name="compile">
+    <mkdir dir="build"/>
+    <javac debug="false" srcdir="src" destdir="build">
+      <classpath>
+        <fileset dir="lib" includes="**/*.jar"/>
+      </classpath>
+    </javac>
+  </target>
+  <target name="jar" depends="compile">
+    <jar destfile="rngom.jar">
+      <fileset dir="build" includes="**/*.class"/>
+    </jar>
+  </target>
+</project>
diff --git a/dev-java/rngom/files/digest-rngom-20051226 b/dev-java/rngom/files/digest-rngom-20051226
new file mode 100644 (file)
index 0000000..6af61c3
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 f0bb4dfd7043eb49b478609d4a24292f rngom-20051226.zip 1370492
+RMD160 96029645ceb42d849f91b749dbd519c661f71907 rngom-20051226.zip 1370492
+SHA256 aafaeb2e7e1a712affcd89605a1df99c1deb77eb2424291b47556a597225542e rngom-20051226.zip 1370492
diff --git a/dev-java/rngom/metadata.xml b/dev-java/rngom/metadata.xml
new file mode 100644 (file)
index 0000000..39fffcd
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>java</herd>
+  <maintainer>
+    <email>nelchael@gentoo.org</email>
+  </maintainer>
+</pkgmetadata>
diff --git a/dev-java/rngom/rngom-20051226.ebuild b/dev-java/rngom/rngom-20051226.ebuild
new file mode 100644 (file)
index 0000000..600db85
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rngom/rngom-20051226.ebuild,v 1.1 2007/05/01 18:41:46 nelchael Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="RNGOM is an open-source Java library for parsing RELAX NG grammars."
+HOMEPAGE="https://rngom.dev.java.net/"
+SRC_URI="https://rngom.dev.java.net/files/documents/1647/26424/${P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.5
+       dev-java/relaxng-datatype
+       dev-java/xsdlib
+       app-arch/unzip"
+RDEPEND=">=virtual/jre-1.5"
+
+src_unpack() {
+
+       unpack ${A}
+
+       cd "${S}"
+       rm -v *.jar || die
+       mkdir lib || die
+
+       cd lib/
+       java-pkg_jarfrom relaxng-datatype
+       java-pkg_jarfrom xsdlib
+
+       cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" -i || die "cp failed"
+
+}
+
+src_install() {
+
+       java-pkg_dojar rngom.jar
+
+       use source && java-pkg_dosrc src/*
+       use doc && java-pkg_dojavadoc javadoc/*
+
+}