diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/xsdlib | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/xsdlib')
-rw-r--r-- | dev-java/xsdlib/Manifest | 3 | ||||
-rw-r--r-- | dev-java/xsdlib/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/xsdlib/xsdlib-20090415.ebuild | 52 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-java/xsdlib/Manifest b/dev-java/xsdlib/Manifest new file mode 100644 index 000000000000..da44165b0773 --- /dev/null +++ b/dev-java/xsdlib/Manifest @@ -0,0 +1,3 @@ +DIST xsdlib.20090415.zip 914126 BLAKE2B 7f8dc45c590606ece1775d08634f87bb7cd392c69c66204073d4867f925cf7159fe14b43cde6d59a72da90ab284d9a3adc0c4d6aa117ea5143eff8efc5bf6534 SHA512 479b20bb24c32f7a8bf548689cb6d7efc99e36d7f887d9e33b34b2e4707d74149ae1e312f7166a90acbd44422248729d6158a55d710616b656eb628cafc1e3f2 +EBUILD xsdlib-20090415.ebuild 1133 BLAKE2B 628d939f225846c81858e6919241a5bc31e18768713c183089613395e7ebe14e239b463b5ccd668f7e3594f17e41595a158f9ab62f6b67003d1d6022362beb87 SHA512 77387cf5d2ceef4fb0a8fd81861dcf3fcc08a006cacfaa9d994ca48e9e6d3288a201f82d3e7ac7f05697207c907793bde4b173cfd8ccdf05ee4647f4392b4794 +MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 diff --git a/dev-java/xsdlib/metadata.xml b/dev-java/xsdlib/metadata.xml new file mode 100644 index 000000000000..952a4b9b605c --- /dev/null +++ b/dev-java/xsdlib/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> diff --git a/dev-java/xsdlib/xsdlib-20090415.ebuild b/dev-java/xsdlib/xsdlib-20090415.ebuild new file mode 100644 index 000000000000..0ca67cf144de --- /dev/null +++ b/dev-java/xsdlib/xsdlib-20090415.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Sun XML Datatypes Library" +HOMEPAGE="http://msv.java.net/" +SRC_URI="http://java.net/downloads/msv/releases/${PN}.${PV}.zip" + +LICENSE="BSD Apache-1.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +COMMON_DEP=" + dev-java/xerces:2 + dev-java/relaxng-datatype:0" +RDEPEND="${COMMON_DEP} + >=virtual/jre-1.4" +DEPEND="${COMMON_DEP} + >=virtual/jdk-1.4 + app-arch/unzip" + +S="${WORKDIR}/${P}" + +java_prepare() { + find -name '*.jar' -exec rm -v {} + || die +} + +JAVA_SRC_DIR="src src-apache" +JAVA_GENTOO_CLASSPATH="relaxng-datatype,xerces-2" + +src_compile() { + java-pkg-simple_src_compile + + local dir; for dir in ${JAVA_SRC_DIR}; do + pushd ${dir} > /dev/null || die + jar -uf "${S}"/${PN}.jar $(find -name '*.properties') || die + popd > /dev/null + done +} + +src_install() { + java-pkg-simple_src_install + + dodoc README.txt + dohtml HowToUse.html +} |