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/xpp2 |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/xpp2')
-rw-r--r-- | dev-java/xpp2/Manifest | 5 | ||||
-rw-r--r-- | dev-java/xpp2/metadata.xml | 11 | ||||
-rw-r--r-- | dev-java/xpp2/xpp2-2.1.10-r2.ebuild | 65 |
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-java/xpp2/Manifest b/dev-java/xpp2/Manifest new file mode 100644 index 000000000000..42bd1347ad21 --- /dev/null +++ b/dev-java/xpp2/Manifest @@ -0,0 +1,5 @@ +DIST PullParser2.1.10.tgz 2310288 SHA256 ad82569b809e29c19b8223feaa12923f97bb4bbc942ff985857f9d853db489cf SHA512 87a091e415a31cde27ca1193735743b60f516feb336a9a3577792636e54ab8d671a22e74eb8aa41268f6251c688c68fe92a28f735ec78b96b919909f80c59590 WHIRLPOOL 983aa4f0b062b46d756857c60d3a3e4dab6c7914571d1c23cfb61be230cead82c89c3c41576390c3f6d1d7066059411cf06e2c1eaf6bd4d265033da90403ce0e +EBUILD xpp2-2.1.10-r2.ebuild 1740 SHA256 e2aee47239a59a64bc3e878926da3db38450a612fd2ac0c7d4e26f3b781d5b52 SHA512 48156f6ecdc714aab9c8d6f81d638556a56c485a05682cbbec767d452be27403fef9ef85af784b1102b54e0b467fbc607dfd19473b7de34ff5198c4ef39af85a WHIRLPOOL 14c19662f0216e7d78d28c13e8c0dc7aedb60116cc41296aff29e2ff99cfe5cebaf7fde0103a6b1d5319d6ffff65777afb22b02eb24c166b76473c7104d125ea +MISC ChangeLog 2886 SHA256 d09ef02afd2e150bc76cb83f3c1134ebc13edad96839b95e51fcb813df35ca93 SHA512 a29c0d67c10b7ff23be8e9aac258b71de0cd2ee8188d90cfd164fc521bf43321fe94609988ca45e23d89b3d37126148c1dd7f8ac663f2eca95b1ff8b394939f0 WHIRLPOOL 80040c3965c37906db875a077d72b653c859b11e363ef545641745b3042c7d9c88cc14494755acda36d737ddddb760f9a19c689a54d7f8633d63221de9f59710 +MISC ChangeLog-2015 3892 SHA256 7da7de7f6197d3d9479e2aae59b5944445ec6ce72f429e3d57d54f3461f55ffe SHA512 675dc814052a88a0a45a967b834ac99fd5ad5f2e1dbccc3e95b65ea7fa8fe81e9f6b76f9b934d9d1ee2259033b1141c7700480089d2102054263975e63351fb3 WHIRLPOOL 595ff32c8c3291602b6c59579a238c7ba5de827c618f22974849ba49719ae26f405103e3cf4c1ddce0f88885facdfc19c46048bd826fdd0ba3aa2a12685e4197 +MISC metadata.xml 458 SHA256 4e624184eb7d3330f425ee5fd3ccb77eb8e37a8f15424a4f006a801515371bc4 SHA512 9004485c7ad032ec1f11aa89e7bc286f52d45f3886cca36912d12891f409d6d70cff063cf3790b7e05f4e280e1a953987dab155feecea461d5a3ff5cea0a430a WHIRLPOOL be71759304017f26e45fbfdf0edb8c72f3ec7355b6c4780df5261d2b50d2ef24d3d91ce9dae490b5d7f486cac178802ae5ae9a14e4d9e113ab6ef353d1411e4f diff --git a/dev-java/xpp2/metadata.xml b/dev-java/xpp2/metadata.xml new file mode 100644 index 000000000000..a901ec9b3fac --- /dev/null +++ b/dev-java/xpp2/metadata.xml @@ -0,0 +1,11 @@ +<?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> +Xml Pull Parser (in short XPP) is a streaming pull XML parser and should be used when there is a need to process quickly and efficiently all input elements (for example in SOAP processors) +</longdescription> +</pkgmetadata> diff --git a/dev-java/xpp2/xpp2-2.1.10-r2.ebuild b/dev-java/xpp2/xpp2-2.1.10-r2.ebuild new file mode 100644 index 000000000000..e1e47ec2c0ce --- /dev/null +++ b/dev-java/xpp2/xpp2-2.1.10-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +MY_PN="PullParser" +MY_P="${MY_PN}${PV}" + +DESCRIPTION="A streaming pull XML parser used to quickly process input elements" +HOMEPAGE="http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html" +SRC_URI="http://www.extreme.indiana.edu/xgws/xsoap/xpp/download/${MY_PN}2/${MY_P}.tgz" + +LICENSE="Apache-1.1 IBM" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +# Some failures, partly because we haven't patched Xerces but probably +# also because this software is ancient. :( +RESTRICT="test" + +CDEPEND="dev-java/xerces:2" +DEPEND=">=virtual/jdk-1.3 + test? ( dev-java/junit:4 ) + ${CDEPEND}" +RDEPEND=">=virtual/jre-1.3 + ${CDEPEND}" + +S="${WORKDIR}/${MY_P}" + +EANT_GENTOO_CLASSPATH="xerces-2" +EANT_EXTRA_ARGS="-Dx2_present=true -Djunit.present=true" +EANT_BUILD_TARGET="intf intf_jar impl x2impl" +EANT_DOC_TARGET="api" +EANT_TEST_TARGET="junit" + +java_prepare() { + rm -r build/ lib/ || die + + # Our usual rewriting stomps over the existing classpath, which + # isn't helpful here. + sed -i -r \ + -e 's/\bclasspath="/\0${gentoo.classpath}:/g' \ + -e 's/\$\{java\.class\.path\}/${gentoo.classpath}/g' \ + build.xml || die +} + +src_install() { + local suffix + + for suffix in "" -intf -standard -x2; do + java-pkg_newjar build/lib/${MY_PN}${suffix}-${PV}.jar ${MY_PN}${suffix}.jar + done + + dodoc README.html + use doc && java-pkg_dojavadoc doc/api + use source && java-pkg_dosrc $(find src/java -name org -o -name javax) +} + +src_test() { + java-pkg-2_src_test +} |