summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-06-10 10:42:07 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-06-17 10:50:46 +0200
commit3c4baec4bf2bfa4712e2f72926b3a2265cfd5bf5 (patch)
treed27e3a82ab3c67e497c2d2f3e0bd07a80cdd2f25 /dev-java/jdom
parentwww-apache/mod_maxminddb: drop 1.2.0 (diff)
downloadgentoo-3c4baec4bf2bfa4712e2f72926b3a2265cfd5bf5.tar.gz
gentoo-3c4baec4bf2bfa4712e2f72926b3a2265cfd5bf5.tar.bz2
gentoo-3c4baec4bf2bfa4712e2f72926b3a2265cfd5bf5.zip
dev-java/jdom: rewrite with java-pkg-simple
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/36770/commits/0a79200c736822650c8eb22d7d8981c93ea49fe0 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jdom')
-rw-r--r--dev-java/jdom/jdom-1.1.3-r2.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-java/jdom/jdom-1.1.3-r2.ebuild b/dev-java/jdom/jdom-1.1.3-r2.ebuild
new file mode 100644
index 000000000000..e321b981d167
--- /dev/null
+++ b/dev-java/jdom/jdom-1.1.3-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java API to manipulate XML data"
+HOMEPAGE="http://jdom.org"
+SRC_URI="http://jdom.org/dist/binary/archive/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="JDOM"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( {CHANGES,COMMITTERS,README,TODO}.txt )
+
+JAVA_SRC_DIR="src"
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ java-pkg_clean
+
+ # circular dependency with jaxen-1.2[jdom]
+ rm -v src/java/org/jdom/xpath/JaxenXPath.java \
+ || die "Unable to remove Jaxen Binding class."
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ use examples && java-pkg_doexamples samples
+}