From: Krzysztof Pawlik Date: Tue, 1 May 2007 18:41:46 +0000 (+0000) Subject: Initial commit of rngom. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=81b8ca0e5921149b3890a66cd130f76a92ffafcd;p=gentoo.git Initial commit of rngom. Package-Manager: portage-2.1.2.5 --- diff --git a/dev-java/rngom/ChangeLog b/dev-java/rngom/ChangeLog new file mode 100644 index 000000000000..eebd8ab1b047 --- /dev/null +++ b/dev-java/rngom/ChangeLog @@ -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 + +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 index 000000000000..cc3cf5bb8738 --- /dev/null +++ b/dev-java/rngom/files/build.xml-20051226 @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/dev-java/rngom/files/digest-rngom-20051226 b/dev-java/rngom/files/digest-rngom-20051226 new file mode 100644 index 000000000000..6af61c3fc877 --- /dev/null +++ b/dev-java/rngom/files/digest-rngom-20051226 @@ -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 index 000000000000..39fffcd80808 --- /dev/null +++ b/dev-java/rngom/metadata.xml @@ -0,0 +1,8 @@ + + + + java + + nelchael@gentoo.org + + diff --git a/dev-java/rngom/rngom-20051226.ebuild b/dev-java/rngom/rngom-20051226.ebuild new file mode 100644 index 000000000000..600db85dba1b --- /dev/null +++ b/dev-java/rngom/rngom-20051226.ebuild @@ -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/* + +}