summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-10-31 16:44:10 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-10-31 17:43:17 +0000
commit13f4654b49c6c5490ca3f82d105fd191300a371b (patch)
tree8e952620422d87580d109f7dd48a72fe30cbab7d /dev-java/kxml
parentdev-qt/qt-meta: restore package (diff)
downloadgentoo-13f4654b49c6c5490ca3f82d105fd191300a371b.tar.gz
gentoo-13f4654b49c6c5490ca3f82d105fd191300a371b.tar.bz2
gentoo-13f4654b49c6c5490ca3f82d105fd191300a371b.zip
dev-java/kxml: Housekeeping.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/kxml')
-rw-r--r--dev-java/kxml/kxml-2.3.0.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/dev-java/kxml/kxml-2.3.0.ebuild b/dev-java/kxml/kxml-2.3.0.ebuild
index cc0c3278261a..584e2d998102 100644
--- a/dev-java/kxml/kxml-2.3.0.ebuild
+++ b/dev-java/kxml/kxml-2.3.0.ebuild
@@ -6,7 +6,7 @@ EAPI="5"
JAVA_PKG_IUSE="doc examples source"
-inherit eutils java-pkg-2 java-ant-2
+inherit java-pkg-2 java-ant-2
DESCRIPTION="Small XML pull parser for constrained environments such as Applets, Personal Java or MIDP devices"
HOMEPAGE="http://kxml.org/"
@@ -18,25 +18,24 @@ KEYWORDS="amd64"
CDEPEND="dev-java/xpp3:0"
-DEPEND=">=virtual/jdk-1.6
+DEPEND="
${CDEPEND}
+ >=virtual/jdk-1.6
app-arch/unzip"
-RDEPEND=">=virtual/jre-1.6
- ${CDEPEND}"
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
S="${WORKDIR}"
java_prepare() {
+ java-pkg_clean
cp "${FILESDIR}"/${P}-build.xml build.xml || die
-
- find . -name '*.class' -print -delete || die
- find . -name '*.jar' -print -delete || die
}
-EANT_BUILD_TARGET="build_jar"
-
JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_BUILD_TARGET="build_jar"
EANT_GENTOO_CLASSPATH="xpp3"
src_install() {