/[gentoo-x86]/dev-java/ecs/ecs-1.4.2-r1.ebuild
Gentoo

Contents of /dev-java/ecs/ecs-1.4.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Jun 17 14:58:10 2007 UTC (12 years, 9 months ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable on amd64 wrt bug 180794
(Portage version: 2.1.3_rc3)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ecs-1.4.2-r1.ebuild,v 1.4 2007/06/06 07:33:29 opfer Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit java-pkg-2 java-ant-2
8
9 DESCRIPTION="Java library to generate markup language text such as HTML and XML"
10 HOMEPAGE="http://jakarta.apache.org/ecs"
11 SRC_URI="mirror://apache/jakarta/${PN}/source/${P}-src.tar.gz"
12
13 LICENSE="Apache-1.1"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 RDEPEND=">=virtual/jre-1.4
19 =dev-java/jakarta-regexp-1.3*
20 >=dev-java/xerces-2.7"
21 DEPEND=">=virtual/jdk-1.4
22 ${RDEPEND}"
23
24 S="${WORKDIR}/${P}-src"
25
26 src_unpack() {
27 unpack ${A}
28
29 cd "${S}"
30 rm -v lib/*.jar || die
31 rm -v build/*.jar || die
32 rm -v ecs*.jar || die
33
34 java-ant_bsfix_one build/build-ecs.xml
35
36 cd "${S}/lib"
37 java-pkg_jar-from xerces-2 xercesImpl.jar xerces.jar
38 java-pkg_jar-from jakarta-regexp-1.3 jakarta-regexp.jar regexp.jar
39 }
40
41 EANT_BUILD_XML="build/build-ecs.xml"
42 EANT_DOC_TARGET="javadocs"
43
44 src_install() {
45 java-pkg_newjar bin/${P}.jar
46
47 dodoc AUTHORS ChangeLog README || die
48 use doc && java-pkg_dojavadoc docs/*
49 use source && java-pkg_dosrc src/java/*
50 }

  ViewVC Help
Powered by ViewVC 1.1.20