diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/msv/Manifest | 1 | ||||
-rw-r--r-- | dev-java/msv/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/msv/msv-20130601.ebuild | 43 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/msv/Manifest b/dev-java/msv/Manifest new file mode 100644 index 000000000000..875c65d2afd6 --- /dev/null +++ b/dev-java/msv/Manifest @@ -0,0 +1 @@ +DIST msv-core-2013.6.1-sources.jar 1011944 BLAKE2B 474d8a45bc5f16ec76dbe853a835b66cd1d733973ffad0dd5e0a653d349f075e22a72d29d91da312a9a133218f4187ece15fd66b19dc34bc00cdea72b95a5929 SHA512 3985451ff52e50957fdc22ef598edcd7b02495b834a53a048018064d1a6063d4554a7cb5d7752c2d265b852d17c7a55787d9b1ec2b580988ad005fcbc9c6eb8a diff --git a/dev-java/msv/metadata.xml b/dev-java/msv/metadata.xml new file mode 100644 index 000000000000..5793ba043a01 --- /dev/null +++ b/dev-java/msv/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> +<longdescription> +The Sun Multi-Schema XML Validator (MSV) is a Java technology tool +to validate XML documents against several kinds of XML schemata. +</longdescription> +</pkgmetadata> diff --git a/dev-java/msv/msv-20130601.ebuild b/dev-java/msv/msv-20130601.ebuild new file mode 100644 index 000000000000..6eb799182641 --- /dev/null +++ b/dev-java/msv/msv-20130601.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_PV="${PV:4:2}.${PV:6}" +MY_PV="${PV:0:4}.${MY_PV//0}" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Multi-Schema XML Validator, a Java tool for validating XML documents" +HOMEPAGE="https://msv.java.net/" +SRC_URI="http://search.maven.org/remotecontent?filepath=net/java/dev/${PN}/${PN}-core/${MY_PV}/${PN}-core-${MY_PV}-sources.jar" +LICENSE="BSD Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +CDEPEND="dev-java/iso-relax:0 + dev-java/relaxng-datatype:0 + dev-java/xsdlib:0" + +RDEPEND="${CDEPEND} + dev-java/xerces:2 + >=virtual/jre-1.5" + +DEPEND="${CDEPEND} + app-arch/unzip + >=virtual/jdk-1.5" + +JAVA_GENTOO_CLASSPATH="iso-relax,relaxng-datatype,xsdlib" +JAVAC_ARGS="-XDignore.symbol.file" + +src_compile() { + java-pkg-simple_src_compile + java-pkg_addres "${PN}.jar" . ! -path "*/doc-files/*" ! -name "*.html" +} + +src_install() { + java-pkg-simple_src_install + java-pkg_register-dependency xerces-2 + java-pkg_dolauncher "${PN}" --main com.sun.msv.driver.textui.Driver +} |