diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-27 20:29:25 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-27 20:29:25 +0000 |
commit | 04a398dceaff002e0250a780f484234e4a2e58c5 (patch) | |
tree | 0d53ad89c46fe0b800c4b16d3aac2c015698d6b6 /dev-java | |
parent | Migrated to Generation 2. (diff) | |
download | gentoo-2-04a398dceaff002e0250a780f484234e4a2e58c5.tar.gz gentoo-2-04a398dceaff002e0250a780f484234e4a2e58c5.tar.bz2 gentoo-2-04a398dceaff002e0250a780f484234e4a2e58c5.zip |
Migrated to Generation 2.
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'dev-java')
4 files changed, 58 insertions, 1 deletions
diff --git a/dev-java/relaxng-datatype/ChangeLog b/dev-java/relaxng-datatype/ChangeLog index 09279dcef076..d445adfcaa6e 100644 --- a/dev-java/relaxng-datatype/ChangeLog +++ b/dev-java/relaxng-datatype/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/relaxng-datatype # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/relaxng-datatype/ChangeLog,v 1.6 2006/03/11 19:58:37 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/relaxng-datatype/ChangeLog,v 1.7 2006/07/27 20:29:25 nelchael Exp $ + +*relaxng-datatype-1.0-r1 (27 Jul 2006) + + 27 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +relaxng-datatype-1.0-r1.ebuild: + Migrated to Generation 2. 11 Mar 2006; Michael Hanselmann <hansmi@gentoo.org> relaxng-datatype-1.0.ebuild: diff --git a/dev-java/relaxng-datatype/files/digest-relaxng-datatype-1.0 b/dev-java/relaxng-datatype/files/digest-relaxng-datatype-1.0 index 5244bd7c06cd..413ac1458be4 100644 --- a/dev-java/relaxng-datatype/files/digest-relaxng-datatype-1.0 +++ b/dev-java/relaxng-datatype/files/digest-relaxng-datatype-1.0 @@ -1 +1,3 @@ MD5 d83828aa9f019c81b598e56d2c44c896 relaxngDatatype-1.0.zip 74033 +RMD160 c6519469d352c3f16df9b2aa50ce640e73c9be2e relaxngDatatype-1.0.zip 74033 +SHA256 7be15d1beb7faf895d5a7abff793ba324c4753d319236f40941ee63949f65eb2 relaxngDatatype-1.0.zip 74033 diff --git a/dev-java/relaxng-datatype/files/digest-relaxng-datatype-1.0-r1 b/dev-java/relaxng-datatype/files/digest-relaxng-datatype-1.0-r1 new file mode 100644 index 000000000000..413ac1458be4 --- /dev/null +++ b/dev-java/relaxng-datatype/files/digest-relaxng-datatype-1.0-r1 @@ -0,0 +1,3 @@ +MD5 d83828aa9f019c81b598e56d2c44c896 relaxngDatatype-1.0.zip 74033 +RMD160 c6519469d352c3f16df9b2aa50ce640e73c9be2e relaxngDatatype-1.0.zip 74033 +SHA256 7be15d1beb7faf895d5a7abff793ba324c4753d319236f40941ee63949f65eb2 relaxngDatatype-1.0.zip 74033 diff --git a/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild b/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild new file mode 100644 index 000000000000..c9e5946f0441 --- /dev/null +++ b/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild,v 1.1 2006/07/27 20:29:25 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +MY_PN="relaxngDatatype" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Interface between RELAX NG validators and datatype libraries" +HOMEPAGE="http://relaxng.org/" +SRC_URI="mirror://sourceforge/relaxng/${MY_P}.zip" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc source" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + source? ( app-arch/zip ) + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + rm -f *.jar + epatch ${FILESDIR}/${P}-build_xml.patch +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + + eant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar ${MY_PN}.jar + dodoc README.txt + + use doc && java-pkg_dohtml -r doc/api + use source && java-pkg_dosrc src/* +} |