mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-java/jdom: rewrite with java-pkg-simple
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: 0a79200c73
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
committed by
Miroslav Šulc
parent
b9945b9838
commit
3c4baec4bf
38
dev-java/jdom/jdom-1.1.3-r2.ebuild
Normal file
38
dev-java/jdom/jdom-1.1.3-r2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user