diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-23 22:38:40 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-23 22:38:40 +0000 |
commit | 46f6c98d9cbe6982c194ca89e188018b762bb0fe (patch) | |
tree | cfdcda524d0231515f693f88335824bdf5a114e4 /dev-java/xsdlib | |
parent | Stable x86 (diff) | |
download | historical-46f6c98d9cbe6982c194ca89e188018b762bb0fe.tar.gz historical-46f6c98d9cbe6982c194ca89e188018b762bb0fe.tar.bz2 historical-46f6c98d9cbe6982c194ca89e188018b762bb0fe.zip |
Migrated to Generation 2.
Package-Manager: portage-2.1.1_pre3-r3
Diffstat (limited to 'dev-java/xsdlib')
-rw-r--r-- | dev-java/xsdlib/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/xsdlib/files/digest-xsdlib-20050627 | 2 | ||||
-rw-r--r-- | dev-java/xsdlib/files/digest-xsdlib-20050627-r1 | 3 | ||||
-rw-r--r-- | dev-java/xsdlib/xsdlib-20050627-r1.ebuild | 51 |
4 files changed, 63 insertions, 1 deletions
diff --git a/dev-java/xsdlib/ChangeLog b/dev-java/xsdlib/ChangeLog index 4a26c96b8cd6..eb01bc1989fb 100644 --- a/dev-java/xsdlib/ChangeLog +++ b/dev-java/xsdlib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/xsdlib # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xsdlib/ChangeLog,v 1.7 2006/03/11 19:59:05 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xsdlib/ChangeLog,v 1.8 2006/07/23 22:35:18 nelchael Exp $ + +*xsdlib-20050627-r1 (23 Jul 2006) + + 23 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +xsdlib-20050627-r1.ebuild: + Migrated to Generation 2. 11 Mar 2006; Michael Hanselmann <hansmi@gentoo.org> xsdlib-20050627.ebuild: diff --git a/dev-java/xsdlib/files/digest-xsdlib-20050627 b/dev-java/xsdlib/files/digest-xsdlib-20050627 index 37aa0523b668..9d7035225c81 100644 --- a/dev-java/xsdlib/files/digest-xsdlib-20050627 +++ b/dev-java/xsdlib/files/digest-xsdlib-20050627 @@ -1 +1,3 @@ MD5 1aee57f76033f2310ec3fa674fce2b99 xsdlib.20050627.zip 803869 +RMD160 9eb3d8aad5f2e2f3abc9e9651f2699fa534b501c xsdlib.20050627.zip 803869 +SHA256 af9906f1353b3e990e699a4cecbbefd6436ca2084dd7d7a6a3d766860765be41 xsdlib.20050627.zip 803869 diff --git a/dev-java/xsdlib/files/digest-xsdlib-20050627-r1 b/dev-java/xsdlib/files/digest-xsdlib-20050627-r1 new file mode 100644 index 000000000000..9d7035225c81 --- /dev/null +++ b/dev-java/xsdlib/files/digest-xsdlib-20050627-r1 @@ -0,0 +1,3 @@ +MD5 1aee57f76033f2310ec3fa674fce2b99 xsdlib.20050627.zip 803869 +RMD160 9eb3d8aad5f2e2f3abc9e9651f2699fa534b501c xsdlib.20050627.zip 803869 +SHA256 af9906f1353b3e990e699a4cecbbefd6436ca2084dd7d7a6a3d766860765be41 xsdlib.20050627.zip 803869 diff --git a/dev-java/xsdlib/xsdlib-20050627-r1.ebuild b/dev-java/xsdlib/xsdlib-20050627-r1.ebuild new file mode 100644 index 000000000000..67dee63f469a --- /dev/null +++ b/dev-java/xsdlib/xsdlib-20050627-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xsdlib/xsdlib-20050627-r1.ebuild,v 1.1 2006/07/23 22:35:18 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 + +MY_P="${PN}.${PV}" +DESCRIPTION="The Sun Multi-Schema XML Validator is a Java tool to validate XML documents against several kinds of XML schemata." +HOMEPAGE="https://msv.dev.java.net/" +SRC_URI="mirror://gentoo/${MY_P}.zip" + +LICENSE="as-is Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc source" + +RDEPEND=">=virtual/jre-1.3 + >=dev-java/xerces-2.6 + dev-java/relaxng-datatype" +DEPEND=">=virtual/jdk-1.3 + app-arch/unzip + dev-java/ant-core + ${RDEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + cp ${FILESDIR}/build-${PVR}.xml build.xml + + rm *.jar + mkdir lib && cd lib + java-pkg_jarfrom relaxng-datatype + java-pkg_jarfrom xerces-2 +} + +src_compile() { + local antflags="-Dproject.name=${PN} jar" + use doc && antflags="${antflags} javadoc" + + eant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + dodoc README.txt + dohtml HowToUse.html + + use doc && java-pkg_dohtml -r dist/doc/api + use source && java-pkg_dosrc src/* src-apache/* +} |