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/jdom-jaxen |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jdom-jaxen')
-rw-r--r-- | dev-java/jdom-jaxen/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jdom-jaxen/jdom-jaxen-1.0-r1.ebuild | 49 | ||||
-rw-r--r-- | dev-java/jdom-jaxen/metadata.xml | 11 |
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/jdom-jaxen/Manifest b/dev-java/jdom-jaxen/Manifest new file mode 100644 index 000000000000..b9e07348f8dd --- /dev/null +++ b/dev-java/jdom-jaxen/Manifest @@ -0,0 +1,5 @@ +DIST jdom-1.0.tar.gz 3571788 SHA256 fdb77a2c9f8f91a9bd898a0d99b941b79137b5ab692e35ca17dcb73a58b15f77 SHA512 0bf1df21cdacdddb1df8bdfc2c4aa307bb6516a7614eb7382e99a60d03d9fcf77333e84f37ed653f264e7e9cdecb91fb9e2e11fcf76d70b3068bf238be4d0b24 WHIRLPOOL 329163b0a6838322be5174e7a6eddcafeddecc54e541cbdb28748f99da88c79349f67bd79c88bda6944d142440df8d21b21cb0fbb2b1497a6fc84f30a531f8f3 +EBUILD jdom-jaxen-1.0-r1.ebuild 1170 SHA256 29322de2412d0fe2ab57c83cc35226dac5d12762150fb30af1ae249f095fc249 SHA512 7736af072555f31133fb21a20da0a0bc1a97f7eba5b38f4518f71330b270349dd3cbe05e039f8b197ba15dcc20670366f07df5d854d6de788e0876cd246c0e28 WHIRLPOOL 6052b988fbde798f06b7c26eb7daeaf19a8a3fccd41d78ba7ee0833c35288e1ceb63d4ce950620fd0e833d41e123f397c4a55bcd84f62878736cbf0f9b26eafa +MISC ChangeLog 3375 SHA256 38c687439d75197c37c8ea6493e9e05193ff40dd0a6ed19340f9ea56082077e9 SHA512 3394c203f75398a2391aa4b055ea0410436eb6f4b1ef7d94ad649997c28fca7ba9e033a5aecb350e6baf0178f43d3659e3eea02c08129284b0812f90fc02e062 WHIRLPOOL 8f365cdd76b61517267c13f788d1536540ca2785f54ca77ac96dc886a530408fd369fa3cf9200dbae686cf32033b2e9c4508a1d9e3614b9c9b823bef677e07c0 +MISC ChangeLog-2015 3293 SHA256 6bcc289d5eaf0efaaeace9e152efd6a412893f32be4f9cb863d5b508dd226385 SHA512 2f931657a1c865522d4972fb1e028e0c4ecd8f912cd50c43d1c3eed1c839dfcf4ba5b32c5b85eed8f0e0371ef19abe5317470313afeac9c6148fa89acaffd347 WHIRLPOOL 67f817455135d6be272b122d926de1e45644916b6cb83148b04c21d50a996c96d85c7aa16be48bef4b7ea437c190e6e5798792f44f5248d14fb1344c3f9d6956 +MISC metadata.xml 354 SHA256 1024c6821ff368529d7acc7c461c99e766c11d3e4c59942bf6b0b2ff0bee620b SHA512 8576436758389c1f32c253956f783ec2ca0a6b2cc5825a373fc7107a74d7910d718dcc9fb803162500edab7d01d2f068fce61398119bf23da3fd6099eb695d3b WHIRLPOOL 227b68f2674a1216aef2eb0d9ed1a953536606db78aa7eca090368b126a0b53b26db769321f32f5e485087193e3d1850aca02d0ef9a3910cf215ff0fa0c1b73e diff --git a/dev-java/jdom-jaxen/jdom-jaxen-1.0-r1.ebuild b/dev-java/jdom-jaxen/jdom-jaxen-1.0-r1.ebuild new file mode 100644 index 000000000000..2edf9483f6cc --- /dev/null +++ b/dev-java/jdom-jaxen/jdom-jaxen-1.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +JAVA_PKG_IUSE="" + +inherit base java-pkg-2 + +MY_PN="jdom" + +DESCRIPTION="Jaxen binding for jdom" +HOMEPAGE="http://www.jdom.org" +SRC_URI="http://www.jdom.org/dist/source/${MY_PN}-${PV}.tar.gz" + +LICENSE="JDOM" +SLOT="${PV}" +KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" + +IUSE="" + +COMMON_DEP="~dev-java/jdom-${SLOT} + =dev-java/jaxen-1.1* + dev-java/saxpath" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + cd "${S}/src/java/org/jdom/xpath/" + mv JaxenXPath.java JaxenXPath.java.bak + sed 's/SAXPathException/Exception/g' JaxenXPath.java.bak > JaxenXPath.java + + cd "${S}" + + mkdir -p "${S}/build/org/jdom/xpath" || die "Unable to create dir." + ejavac -d "${S}/build/" \ + -classpath $(java-config -p jdom-${SLOT},jaxen-1.1,saxpath) \ + src/java/org/jdom/xpath/JaxenXPath.java + + jar cf jdom-jaxen.jar -C build org || die "Failed to create jar." +} + +src_install() { + java-pkg_dojar "${PN}.jar" +} diff --git a/dev-java/jdom-jaxen/metadata.xml b/dev-java/jdom-jaxen/metadata.xml new file mode 100644 index 000000000000..393226d80add --- /dev/null +++ b/dev-java/jdom-jaxen/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 lang="en"> +Jaxen binding for jdom. Split from jdom to resolve circular dependencies. +</longdescription> +</pkgmetadata> |