/[gentoo-x86]/dev-java/jakarta-jstl/jakarta-jstl-1.1.2.ebuild
Gentoo

Contents of /dev-java/jakarta-jstl/jakarta-jstl-1.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Oct 10 20:43:47 2006 UTC (12 years, 8 months ago) by wltjr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Made new patch that adds xalan to classpath, since previous patch was removing boot classpath. This one does both. Removed previous ebuild and patch.
(Portage version: 2.1.2_pre2-r6)
 (Unsigned Manifest commit)

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/jakarta-jstl/jakarta-jstl-1.1.2.ebuild,v 1.8 2006/09/14 03:06:39 nichoj Exp $
4
5 inherit java-pkg eutils
6
7 DESCRIPTION="An implementation of the JSP Standard Tag Library (JSTL)"
8 HOMEPAGE="http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html"
9 SRC_URI="mirror://apache/jakarta/taglibs/standard/source/jakarta-taglibs-standard-${PV}-src.tar.gz"
10
11 LICENSE="Apache-2.0"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc x86"
14 IUSE="doc jikes examples source"
15
16 RDEPEND=">=virtual/jre-1.4.2
17 =dev-java/servletapi-2.4*"
18 DEPEND=">=virtual/jdk-1.4.2
19 ${RDEPEND}
20 dev-java/ant-core
21 jikes? ( dev-java/jikes )
22 source? ( app-arch/zip )"
23
24 S=${WORKDIR}/jakarta-taglibs-standard-${PV}-src/standard
25
26 src_unpack() {
27 unpack ${A}
28 cd ${S}
29 # Remove unnecessary bootclasspath from javac calls.
30 # This allows compilation with non-Sun JDKs
31 # See bug #134206
32 # TODO file upstream
33 epatch ${FILESDIR}/${P}-remove-bootclasspath.patch
34
35 echo -e "base.dir=..\n" \
36 "build.dir = \${base.dir}/build\n" \
37 "build.classes=\${build.dir}/standard/standard/classes\n" \
38 "dist.dir = \${base.dir}/dist\n" \
39 "servlet24.jar=$(java-pkg_getjar servletapi-2.4 servlet-api.jar)\n" \
40 "jsp20.jar=$(java-pkg_getjar servletapi-2.4 jsp-api.jar)\n" \
41 > build.properties
42 }
43
44 src_compile() {
45 local antflags="build"
46 use doc && antflags="${antflags} javadoc-dist"
47 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
48 ant ${antflags} || die "compilation failed"
49 }
50
51 src_install() {
52 java-pkg_dojar ${S}/../build/standard/standard/lib/*.jar
53
54 use doc && java-pkg_dohtml -r ${S}/doc/web/* ${S}/../dist/standard/javadoc/
55 if use examples; then
56 dodir /usr/share/doc/${PF}/examples
57 cp -r ${S}/examples/* ${D}/usr/share/doc/${PF}/examples
58 fi
59 use source && java-pkg_dosrc ${S}/src/*
60 }

  ViewVC Help
Powered by ViewVC 1.1.20