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/kxml |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/kxml')
-rw-r--r-- | dev-java/kxml/Manifest | 6 | ||||
-rw-r--r-- | dev-java/kxml/files/kxml-2.3.0-build.xml | 62 | ||||
-rw-r--r-- | dev-java/kxml/kxml-2.3.0.ebuild | 47 | ||||
-rw-r--r-- | dev-java/kxml/metadata.xml | 11 |
4 files changed, 126 insertions, 0 deletions
diff --git a/dev-java/kxml/Manifest b/dev-java/kxml/Manifest new file mode 100644 index 000000000000..5f3b2f554f1c --- /dev/null +++ b/dev-java/kxml/Manifest @@ -0,0 +1,6 @@ +AUX kxml-2.3.0-build.xml 1888 SHA256 ee9f33adbf7f7a7dd214f9d34cb48e225ee512d64bba396ecc02f3d5a039d0ba SHA512 4fab1fd2b9abc410d0df327ba08f99658c1752e07fffd97183c924e815f72c365293ad5771d3eb3375b827b80ccd17bda3211d595066cbfd16e32a080950148a WHIRLPOOL a2e36dd67d284152f21d15c31f65832954e554cd90e41e6f48c5a64aa81b94cbd57391445b1801b46247ea9a663ce0088e83dcf492c17e5acec37697822b429a +DIST kxml2-src-2.3.0.zip 354878 SHA256 f2441575236be69a460c6a54344b6ba8b8ba03fd0bab242b989f4f0976944cd8 SHA512 f4eeaa71fbe76b51cefb9a195d292c22c79c241920915fe8ddcf30dc11af39bbeb6b848a8c4dab9775fc8e327c5a29586ac53263a577de361312bbf45e25c1e5 WHIRLPOOL 0e8bca0f903477b8d83ca2558702ca17d8f15db2e4526758d6a78e29b070c8356840f140f2671e621ef29d052a26236073a6bdc1c585adbf8a5181932c44ffc2 +EBUILD kxml-2.3.0.ebuild 941 SHA256 f77fe23f4fc880b3eb5f2e9027330ff9dc2aff47addb300fee0b2ed34473ceee SHA512 98e94185940701b7fe28f5c6a1a0536064e41a98554e4784f4046bdfa0e2e3249766d1b8fd06d88d085c070d43319e61d1f0c30e3894e6b523d6d2c986815dba WHIRLPOOL 0c1d6e734691eae106ce782813be7b8abea8818adf26de2cba89dacb9b64a99903b338e433ee3f30c635c691d8ef85f1ea2844e4fbe9416ef199910ae4581ada +MISC ChangeLog 3742 SHA256 667c7faec6f64674764393951afc18d3f8beb9ec770b719c9227568aa183ec3e SHA512 81d64ba693c4750cfdb6a3d00e45194aa34375e826bb6d6fe8a908be02e8d52b999e497c0f592a4375353fd6e33c909b9094098100dae21d1baf8939356f9b3c WHIRLPOOL a4e1a502ad96815febb314efbfc391f6ee23dc8f10143a881cba04f8d8849acdb41ac7ae23c5ad3fda2ab74b83afe4a008ba6407c43e83f8fbcd7e0cd9112aa5 +MISC ChangeLog-2015 774 SHA256 d65b8994f7bee0ddad5d84c548d4de1f3aebf2d8fa86018310318994c6cfe751 SHA512 a46b61000f7f01271c6200281de111d8a2754fac8911f37669aa85f0465f3d94b1f19d2af6610b15b6114e17c6c07cfeb2879e584a801fe889b9c2c64a735c22 WHIRLPOOL 990da07b5ad39cf1b264aa8bace29abf1a46b666e9aabaa46320ae6caf6fec13fd28c40d3ce221f4c8ca3e48aa0f1467442b447009b2266912cb45fb79225704 +MISC metadata.xml 310 SHA256 d874336092bccfb613c6beb7acd28a90a2f8c71884e26e79d3eabd0cdb36721a SHA512 f1a79f86c1602f19f9adba874fc1ae1f747c3d150ed9fbe14a90f5084fe08ba89d2164b8b8ef65e1eb52773e27c064f4b0ba7846204e605df712593fc5159cfd WHIRLPOOL 3d0d80d5b3ffa2e8840c90b4d94f7d059e0d2a12cbf697bb0ce76056c45a02c8d8bdc31a0541b6a53fcf5436133a7984a7a0e8ca3b9194eb420782e5af5eba18 diff --git a/dev-java/kxml/files/kxml-2.3.0-build.xml b/dev-java/kxml/files/kxml-2.3.0-build.xml new file mode 100644 index 000000000000..ee1280d24b1b --- /dev/null +++ b/dev-java/kxml/files/kxml-2.3.0-build.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project default="build" basedir="." name="kxml2" > + + <property name="version" value="2.3.0" ></property> + + + <target name="javadoc" > + <delete dir="www/kxml2/javadoc" ></delete> + <mkdir dir="www/kxml2/javadoc" ></mkdir> + <javadoc use="true" windowtitle="kxml API" author="true" sourcepath="src" classpath="" destdir="www/kxml2/javadoc" doctitle="kxml API" version="true" packagenames="org.kxml2.*" public="yes" source="1.4" ></javadoc> + </target> + + + <target depends="build_jar,javadoc" name="build_src" > + <zip zipfile="dist/kxml2-src-${version}.zip" > + <fileset dir="." > + <include name="*/**" ></include> + <exclude name=".*" ></exclude> + <exclude name="classes/**" ></exclude> + <exclude name="tmpclasses/**" ></exclude> + <exclude name="dist/kxml2-src-*.zip" ></exclude> + </fileset> + </zip> + + </target> + + + <target name="build_jar" > + + <delete dir="tmpclasses" ></delete> + <mkdir dir="tmpclasses" ></mkdir> + + <javac destdir="tmpclasses" debuglevel="none" srcdir="src" optimize="true" verbose="true" source="1.4" target="1.4" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> + + <mkdir dir="dist" ></mkdir> + + + <jar jarfile="dist/kxml2-${version}.jar" > + <fileset dir="tmpclasses" > + <include name="**/*.class" ></include> + <include name="META-INF/**" ></include> + </fileset> + <fileset dir="src" > + <include name="META-INF/**" ></include> + </fileset> + </jar> + + <jar jarfile="dist/kxml2-min-${version}.jar" > + <fileset dir="tmpclasses" > + <include name="org/kxml2/io/KXmlParser.class" ></include> + </fileset> + </jar> + + <delete dir="tmpclasses" ></delete> + </target> + + + <target depends="build_src" name="build" ></target> + + + +</project> diff --git a/dev-java/kxml/kxml-2.3.0.ebuild b/dev-java/kxml/kxml-2.3.0.ebuild new file mode 100644 index 000000000000..434bf19f6533 --- /dev/null +++ b/dev-java/kxml/kxml-2.3.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Small XML Pull Parser" +HOMEPAGE="http://kxml.org/" +SRC_URI="mirror://sourceforge/${PN}/${PN}2-src-${PV}.zip" + +LICENSE="BSD" +SLOT="2" +KEYWORDS="amd64 ppc64 x86" + +CDEPEND="dev-java/xpp3:0" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6 + app-arch/unzip" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +S="${WORKDIR}" + +java_prepare() { + java-pkg_clean + cp "${FILESDIR}"/${P}-build.xml build.xml || die +} + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_BUILD_TARGET="build_jar" +EANT_GENTOO_CLASSPATH="xpp3" + +src_install() { + java-pkg_newjar dist/${PN}2-${PV}.jar ${PN}.jar + java-pkg_newjar dist/${PN}2-min-${PV}.jar ${PN}-min.jar + + use source && java-pkg_dosrc src/org + use doc && java-pkg_dojavadoc www/kxml2/javadoc + use examples && java-pkg_doexamples samples +} diff --git a/dev-java/kxml/metadata.xml b/dev-java/kxml/metadata.xml new file mode 100644 index 000000000000..b63d654b57bb --- /dev/null +++ b/dev-java/kxml/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> + <upstream> + <remote-id type="sourceforge">kxml</remote-id> + </upstream> +</pkgmetadata> |