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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sun Jun 17 15:35:48 2007 UTC (12 years, 8 months ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Remove gen-1 versions.
(Portage version: 2.1.3_rc2)

1 # Copyright 1999-2006 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.1-r1.ebuild,v 1.10 2006/11/30 15:36:13 caster Exp $
4
5 inherit java-pkg
6
7 DESCRIPTION="Java library to generate markup language text such as HTML and XML"
8 HOMEPAGE="http://jakarta.apache.org/ecs"
9 SRC_URI="http://jakarta.apache.org/builds/jakarta-ecs/release/v${PV}/${P}.tar.gz"
10
11 LICENSE="Apache-1.1"
12 SLOT="0"
13 KEYWORDS="amd64 x86"
14 IUSE="doc jikes source"
15
16 RDEPEND=">=virtual/jre-1.3
17 =dev-java/jakarta-regexp-1.3*
18 >=dev-java/xerces-2.7"
19 DEPEND=">=virtual/jdk-1.3
20 ${RDEPEND}
21 dev-java/ant-core
22 jikes? ( dev-java/jikes )
23 source? ( app-arch/zip )"
24
25 src_unpack() {
26 unpack ${A}
27
28 cd ${S}/lib && rm -f *.jar
29 java-pkg_jar-from xerces-2 xercesImpl.jar xerces.jar
30 java-pkg_jar-from jakarta-regexp-1.3 jakarta-regexp.jar regexp.jar
31 }
32
33 src_compile() {
34 local antflags="jar"
35 use doc && antflags="${antflags} javadocs"
36 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
37 ant -f build/build-ecs.xml ${antflags} || die "compilation failed"
38 }
39
40 src_install() {
41 java-pkg_newjar bin/${P}.jar ${PN}.jar
42
43 dodoc AUTHORS ChangeLog README
44 use doc && java-pkg_dohtml -r docs/*
45 use source && java-pkg_dosrc src/java/*
46 }

  ViewVC Help
Powered by ViewVC 1.1.20