summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-10-14 15:02:51 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-10-14 17:43:59 +0000
commitf36635a30e122c1351e4096037f3e1f6677c59e7 (patch)
treeb92409ebb3ea8637d7a16e029308392fdd50b199 /dev-java/htmlparser
parentdev-java/jsr101: Clean up old. (diff)
downloadgentoo-f36635a30e122c1351e4096037f3e1f6677c59e7.tar.gz
gentoo-f36635a30e122c1351e4096037f3e1f6677c59e7.tar.bz2
gentoo-f36635a30e122c1351e4096037f3e1f6677c59e7.zip
dev-java/htmlparser: Stable for amd64. Stable for x86 using the ALLARCHES policy.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/htmlparser')
-rw-r--r--dev-java/htmlparser/htmlparser-1.4-r1.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/dev-java/htmlparser/htmlparser-1.4-r1.ebuild b/dev-java/htmlparser/htmlparser-1.4-r1.ebuild
index b0b8767c5f36..21ac42eee0f6 100644
--- a/dev-java/htmlparser/htmlparser-1.4-r1.ebuild
+++ b/dev-java/htmlparser/htmlparser-1.4-r1.ebuild
@@ -17,29 +17,27 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-COMMON_DEP="
+CDEPEND="
dev-java/icu4j:52
dev-java/jchardet:0
dev-java/xom:0"
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.5"
-DEPEND="${COMMON_DEP}
- >=virtual/jdk-1.5
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.6"
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.6
app-arch/unzip"
java_prepare() {
- find "${WORKDIR}" -name '*.jar' -delete || die
+ java-pkg_clean
mkdir -p build lib || die
cp "${FILESDIR}/build.xml" build.xml || die "cp failed"
}
JAVA_ANT_REWRITE_CLASSPATH="yes"
-
EANT_GENTOO_CLASSPATH="icu4j-52,xom,jchardet"
src_install() {
- java-pkg_dojar htmlparser.jar
-
+ java-pkg_dojar "${PN}.jar"
use source && java-pkg_dosrc src/*
use doc && java-pkg_dojavadoc docs
}