diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/xalan |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/xalan')
-rw-r--r-- | dev-java/xalan/Manifest | 6 | ||||
-rw-r--r-- | dev-java/xalan/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/xalan/xalan-2.7.2.ebuild | 64 |
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-java/xalan/Manifest b/dev-java/xalan/Manifest new file mode 100644 index 000000000000..771b0d3f9ddd --- /dev/null +++ b/dev-java/xalan/Manifest @@ -0,0 +1,6 @@ +DIST xalan-j_2_7_2-bin.zip 17740075 SHA256 6d20d522c2a7f5ee8baa65d43934a47a4aaadd604b9020275c76030df171aae5 SHA512 ae2be0bfc5e794b159c2d16718275a6ce6e8f63d681e2d13875f233d334a37aba872206c6c1f70565698ceaf4c66261c7df6db6c524e6e8da5dafe2f17cefddf WHIRLPOOL 8a4265e305b49526eddb71e522f2b5d1a64580d44915f920bf8be29fa48fd436a518229c01339c2f34bb92f6e9076d9050809f04485ded16eafd69b8f7b93095 +DIST xalan-j_2_7_2-src.tar.gz 8416261 SHA256 5c184ad2984973cc19783c7f9339c28a210cca724b25b0d706f1e310627adb98 SHA512 2f1fa105b3cb8082594e3121a245464e1b7c15464b1ead2d10e306e51ef61ded5d7fcd70c034fa46f41c4a8c14316e376cc14d8045c8aadfce80f2e4bd1b61d8 WHIRLPOOL 388545a97f230183c91896738bef3f9ae8bbf2beb24f02bece79a8e76351b8c2f16edf83fd6084896262cdfbc412a550695579c4b3b4a07d17714eb26a94fbb0 +EBUILD xalan-2.7.2.ebuild 1855 SHA256 2dd519851e53d00a2d455d70a190184b64fa9cd9d42b219f06472de0515b4da5 SHA512 a8621bcad246f85f541b58264845a021feb075df74834c5be2baf6efeb59a03c671d96d5d6f31d527ffa2c1313212f181ee6005c60a2a3bdff86e3a9da2f056a WHIRLPOOL 80703dee386ba030fa8e5793f3bf0bc1cf00e84901bd8be0f7e6fd5893b41181cf0aeba73dfb9f9ec73fb213e610a0788068cba26d39c8a638e85830d268fa60 +MISC ChangeLog 2557 SHA256 91026962a2b8531b51531e68d0a04fab1135e71e35922677db00d12d6393adec SHA512 c3cb97a678ab532701e6caccc6253c400c64f67b61bdbf95bb2b2599374e34343a3ed5ee2cb044a3d2697021b40be31a91fbb3417a2e42a868c1972246866b10 WHIRLPOOL 013641f8b2773514d201bdf8ee1e9b424c8ebb24927a6c9326163228bd5d5fd0b797486b88ea3c7e735848a153ba192d32820c1841b534c75902208fac9ce375 +MISC ChangeLog-2015 13939 SHA256 ccd01de58d140853e157885d5c114227d815be64ac9b49d7e0a093ed26c5d9de SHA512 699576a4f08194ca8b8d352fe5904b35998348d0b2988589b83e20bf7e33bef27f6c89ffd375968c4b8dfc1254137fbdb829e3d6f922e15d1efba87d7e144d85 WHIRLPOOL 79cd90101da296a4a735b6009bf43e54c2e34653b7de48cc1d834eb4cf63e4ba5f89b126e297038cb39fad9a4fc932c358dfafdfda452936dd4d87a23d5f0c56 +MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac diff --git a/dev-java/xalan/metadata.xml b/dev-java/xalan/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/xalan/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/xalan/xalan-2.7.2.ebuild b/dev-java/xalan/xalan-2.7.2.ebuild new file mode 100644 index 000000000000..7bfef0809066 --- /dev/null +++ b/dev-java/xalan/xalan-2.7.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# NOTE: Building the docs is much more hassle than it's worth. It +# requires com.sun.image.codec, which has long gone from JDKs, and +# Apache StyleBook, which is long dead though it is bundled here. + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 versionator + +MY_PN="${PN}-j" +MY_PV="$(replace_all_version_separators _)" +MY_P="${MY_PN}_${MY_PV}" +SRC_DIST="${MY_P}-src.tar.gz" +BIN_DIST="${MY_P}-bin.zip" + +DESCRIPTION="Transforming XML documents into HTML, text, or other XML document types" +HOMEPAGE="http://xalan.apache.org/" +SRC_URI="mirror://apache/${PN}/${MY_PN}/source/${SRC_DIST} + doc? ( mirror://apache/${PN}/${MY_PN}/binaries/${BIN_DIST} )" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +CDEPEND="dev-java/javacup:0 + dev-java/bcel:0" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.3 + ~dev-java/xalan-serializer-${PV}:${SLOT}" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.3 + doc? ( app-arch/unzip )" + +EANT_GENTOO_CLASSPATH="bcel,javacup" +EANT_BUILD_TARGET="unbundledjar" +EANT_DOC_TARGET="" + +JAVA_ANT_REWRITE_CLASSPATH="true" +S="${WORKDIR}/${MY_P}" + +java_prepare() { + # disable building of serializer.jar + sed -i -e 's/depends="prepare,serializer.jar"/depends="prepare"/' \ + build.xml || die "sed build.xml failed" + + # remove bundled jars + find -name "*.jar" -delete || die + rm src/*.tar.gz || die +} + +src_install() { + java-pkg_newjar build/${PN}-unbundled.jar + java-pkg_dolauncher ${PN} --main org.apache.xalan.xslt.Process + java-pkg_register-dependency ${PN}-serializer + + dodoc NOTICE.txt readme.html + use doc && java-pkg_dohtml -r docs/* + use source && java-pkg_dosrc src/org +} |