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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sun Dec 11 18:06:54 2005 UTC (14 years, 3 months ago) by nichoj
Branch: MAIN
Changes since 1.3: +2 -2 lines
Loosened xerces dependency (bug #115158).
(Portage version: 2.0.53_rc7)

1 luckyduck 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 nichoj 1.4 # $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ecs-1.4.2.ebuild,v 1.3 2005/10/30 19:40:01 axxo Exp $
4 luckyduck 1.1
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="mirror://apache/jakarta/ecs/source/${P}-src.tar.gz"
10    
11     LICENSE="Apache-1.1"
12     SLOT="0"
13 axxo 1.2 KEYWORDS="~amd64 x86"
14 luckyduck 1.1 IUSE="doc jikes source"
15    
16 axxo 1.2 RDEPEND=">=virtual/jre-1.3
17     =dev-java/jakarta-regexp-1.3*
18 nichoj 1.4 >=dev-java/xerces-2.6"
19 luckyduck 1.1 DEPEND=">=virtual/jdk-1.3
20 axxo 1.2 ${RDEPEND}
21 luckyduck 1.1 dev-java/ant-core
22     jikes? ( dev-java/jikes )
23     source? ( app-arch/zip )"
24    
25     S=${WORKDIR}/${P}-src
26    
27     src_unpack() {
28     unpack ${A}
29    
30     cd ${S}/lib && rm -f *.jar
31     java-pkg_jar-from xerces-2 xercesImpl.jar xerces.jar
32     java-pkg_jar-from jakarta-regexp-1.3 jakarta-regexp.jar regexp.jar
33     }
34    
35     src_compile() {
36     local antflags="jar"
37     use doc && antflags="${antflags} javadocs"
38     use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
39     ant -f build/build-ecs.xml ${antflags} || die "compilation failed"
40     }
41    
42     src_install() {
43     java-pkg_newjar bin/${P}.jar ${PN}.jar
44    
45 axxo 1.3 dodoc AUTHORS ChangeLog README
46 luckyduck 1.1 use doc && java-pkg_dohtml -r docs/*
47     use source && java-pkg_dosrc src/java/*
48     }

  ViewVC Help
Powered by ViewVC 1.1.20