summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-03-26 13:45:37 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-03-26 13:45:37 +0000
commitb0ab7c6c0b26b0f49e29a4323feae3102f2405cf (patch)
tree5581316ee04c07f87b2a4a18d6a46986a39d8f71 /dev-java
parentdev-java/nanoxml: Clean up old. (diff)
downloadgentoo-b0ab7c6c0b26b0f49e29a4323feae3102f2405cf.tar.gz
gentoo-b0ab7c6c0b26b0f49e29a4323feae3102f2405cf.tar.bz2
gentoo-b0ab7c6c0b26b0f49e29a4323feae3102f2405cf.zip
dev-java/ecs: Housekeeping.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/ecs/ecs-1.4.2-r2.ebuild26
1 files changed, 16 insertions, 10 deletions
diff --git a/dev-java/ecs/ecs-1.4.2-r2.ebuild b/dev-java/ecs/ecs-1.4.2-r2.ebuild
index 7e80592f8405..091214257b9c 100644
--- a/dev-java/ecs/ecs-1.4.2-r2.ebuild
+++ b/dev-java/ecs/ecs-1.4.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -6,7 +6,7 @@ EAPI=5
JAVA_PKG_IUSE="doc source"
-inherit eutils java-pkg-2 java-pkg-simple
+inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Java library to generate markup language text such as HTML and XML"
HOMEPAGE="http://jakarta.apache.org/ecs"
@@ -17,21 +17,27 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
-CDEPEND="dev-java/jakarta-regexp:1.3
- dev-java/xerces:2"
+CDEPEND="
+ dev-java/xerces:2
+ dev-java/jakarta-regexp:1.3"
-RDEPEND=">=virtual/jre-1.4
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.4
- ${CDEPEND}"
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ source? ( app-arch/zip )
+ >=virtual/jdk-1.6"
S="${WORKDIR}/${P}-src"
-JAVA_ENCODING="iso8859-1"
+JAVA_ENCODING="ISO8859-1"
JAVA_SRC_DIR="src/java"
+
JAVA_GENTOO_CLASSPATH="xerces-2,jakarta-regexp-1.3"
java_prepare() {
- find "${S}" -name "*.jar" -delete || die
+ java-pkg_clean
epatch "${FILESDIR}"/${PV}*.patch
}