/[gentoo-x86]/dev-java/htmlparser/htmlparser-1.4.ebuild
Gentoo

Contents of /dev-java/htmlparser/htmlparser-1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jul 8 14:11:01 2013 UTC (14 months, 1 week ago) by tomwij
Branch: MAIN
Changes since 1.5: +39 -32 lines
Version bump to 1.4.

(Portage version: 2.1.12.11/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/htmlparser/htmlparser-1.3.1.ebuild,v 1.1 2012/02/23 20:15:28 nelchael Exp $
4
5 EAPI=4
6
7 JAVA_PKG_IUSE="doc source"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="Implementation of the HTML5 parsing algorithm in Java"
12 HOMEPAGE="http://about.validator.nu/htmlparser/"
13 SRC_URI="http://about.validator.nu/${PN}/${P}.zip"
14
15 LICENSE="W3C"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18
19 IUSE=""
20
21 COMMON_DEP="dev-java/icu4j:4
22 dev-java/xom
23 dev-java/jchardet"
24
25 RDEPEND=">=virtual/jre-1.5
26 ${COMMON_DEP}"
27 DEPEND=">=virtual/jdk-1.5
28 app-arch/unzip
29 ${COMMON_DEP}"
30
31 src_prepare() {
32 rm -f *.jar
33 mkdir -p "${S}/build" || die "mkdir failed"
34 mkdir -p "${S}/lib" || die "mkdir failed"
35
36 cp "${FILESDIR}/build.xml" "${S}" || die "cp failed"
37
38 java-pkg_jarfrom --into lib/ icu4j-4
39 java-pkg_jarfrom --into lib/ xom
40 java-pkg_jarfrom --into lib/ jchardet
41 }
42
43 src_install() {
44 java-pkg_dojar htmlparser.jar
45
46 use source && java-pkg_dosrc src/*
47 use doc && java-pkg_dojavadoc docs
48 }

  ViewVC Help
Powered by ViewVC 1.1.20