/[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.4 - (hide annotations) (download)
Wed Jun 6 07:33:29 2007 UTC (12 years, 9 months ago) by opfer
Branch: MAIN
Changes since 1.3: +2 -2 lines
stable x86, bug 180794
(Portage version: 2.1.2.7)

1 nelchael 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 opfer 1.4 # $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ecs-1.4.2-r1.ebuild,v 1.3 2007/06/03 22:16:50 betelgeuse Exp $
4 betelgeuse 1.3
5     JAVA_PKG_IUSE="doc source"
6 nelchael 1.1
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 betelgeuse 1.3 SRC_URI="mirror://apache/jakarta/${PN}/source/${P}-src.tar.gz"
12 nelchael 1.1
13     LICENSE="Apache-1.1"
14     SLOT="0"
15 opfer 1.4 KEYWORDS="~amd64 x86"
16 betelgeuse 1.3 IUSE=""
17 nelchael 1.1
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 betelgeuse 1.3 ${RDEPEND}"
23 nelchael 1.1
24     S="${WORKDIR}/${P}-src"
25    
26     src_unpack() {
27     unpack ${A}
28    
29     cd "${S}"
30 betelgeuse 1.2 rm -v lib/*.jar || die
31     rm -v build/*.jar || die
32     rm -v ecs*.jar || die
33 nelchael 1.1
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 betelgeuse 1.2 EANT_BUILD_XML="build/build-ecs.xml"
42     EANT_DOC_TARGET="javadocs"
43 nelchael 1.1
44     src_install() {
45 betelgeuse 1.2 java-pkg_newjar bin/${P}.jar
46 nelchael 1.1
47 betelgeuse 1.2 dodoc AUTHORS ChangeLog README || die
48 nelchael 1.1 use doc && java-pkg_dojavadoc docs/*
49     use source && java-pkg_dosrc src/java/*
50     }

  ViewVC Help
Powered by ViewVC 1.1.20