summaryrefslogtreecommitdiff
path: root/dev-java/msv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/msv
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/msv')
-rw-r--r--dev-java/msv/Manifest3
-rw-r--r--dev-java/msv/metadata.xml12
-rw-r--r--dev-java/msv/msv-20130601.ebuild43
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-java/msv/Manifest b/dev-java/msv/Manifest
new file mode 100644
index 000000000000..b9644aabbc26
--- /dev/null
+++ b/dev-java/msv/Manifest
@@ -0,0 +1,3 @@
+DIST msv-core-2013.6.1-sources.jar 1011944 BLAKE2B 474d8a45bc5f16ec76dbe853a835b66cd1d733973ffad0dd5e0a653d349f075e22a72d29d91da312a9a133218f4187ece15fd66b19dc34bc00cdea72b95a5929 SHA512 3985451ff52e50957fdc22ef598edcd7b02495b834a53a048018064d1a6063d4554a7cb5d7752c2d265b852d17c7a55787d9b1ec2b580988ad005fcbc9c6eb8a
+EBUILD msv-20130601.ebuild 1194 BLAKE2B 271f5fc1729666b46b4d63381060bfa8181673ee3735a6962be6f7eaa3fac4c1e401601da0253396b0bfd3a56b460dc1e953cede5bb5c08627cc8f1e6d421c83 SHA512 138b4479514aec6c7b29e970bf90a50a7c063a60e43613dcb62cc0139495a597a326f0f46252f92390c476bcd00f55d3e9522a0f0e6c43c40652b57be70317c7
+MISC metadata.xml 401 BLAKE2B fbb5715feb77351d3edfb71b51f026f5c858300cb966a8d5cdfa4f3534c03e0de977703263015e5e60bc2928a2060e3da8684f5442f22c4e119e4d1616c82ac1 SHA512 cb176f670e860f0fb7612d313b9fe2fe1c00d5f08de531d7ef93f42204bb0dd537e6b51728b8e068cf571e24aaa7488441e0743724c8d54357f1aeee5ca10560
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..a1bf53084537
--- /dev/null
+++ b/dev-java/msv/msv-20130601.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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 ~x86-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
+}