diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-09-18 01:25:07 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-09-18 01:25:07 +0000 |
commit | 596ac8f299fe8900aa4cdd2bbc5d8cb7b1fe155d (patch) | |
tree | a5e14758f782e0d0e8be673b6031ff1b69612b63 /dev-java/jakarta-jstl/jakarta-jstl-1.1.2-r1.ebuild | |
parent | Disable broken tests. Fix KDE bug #106648 and a few minor issues. Fix bug #14... (diff) | |
download | historical-596ac8f299fe8900aa4cdd2bbc5d8cb7b1fe155d.tar.gz historical-596ac8f299fe8900aa4cdd2bbc5d8cb7b1fe155d.tar.bz2 historical-596ac8f299fe8900aa4cdd2bbc5d8cb7b1fe155d.zip |
Revision bump to support the new Java system.
Package-Manager: portage-2.1.1
Diffstat (limited to 'dev-java/jakarta-jstl/jakarta-jstl-1.1.2-r1.ebuild')
-rw-r--r-- | dev-java/jakarta-jstl/jakarta-jstl-1.1.2-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/jakarta-jstl/jakarta-jstl-1.1.2-r1.ebuild b/dev-java/jakarta-jstl/jakarta-jstl-1.1.2-r1.ebuild new file mode 100644 index 000000000000..424689df4808 --- /dev/null +++ b/dev-java/jakarta-jstl/jakarta-jstl-1.1.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-jstl/jakarta-jstl-1.1.2-r1.ebuild,v 1.1 2006/09/18 01:25:07 nichoj Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="An implementation of the JSP Standard Tag Library (JSTL)" +HOMEPAGE="http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html" +SRC_URI="mirror://apache/jakarta/taglibs/standard/source/jakarta-taglibs-standard-${PV}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc examples source" + +RDEPEND=">=virtual/jre-1.4.2 + =dev-java/servletapi-2.4*" +DEPEND=">=virtual/jdk-1.4.2 + ${RDEPEND} + dev-java/ant-core + source? ( app-arch/zip )" + +S=${WORKDIR}/jakarta-taglibs-standard-${PV}-src/standard + +src_unpack() { + unpack ${A} + cd ${S} + # Remove unnecessary bootclasspath from javac calls. + # This allows compilation with non-Sun JDKs + # See bug #134206 + # TODO file upstream + epatch ${FILESDIR}/${P}-remove-bootclasspath.patch + + echo -e "base.dir=..\n" \ + "build.dir = \${base.dir}/build\n" \ + "build.classes=\${build.dir}/standard/standard/classes\n" \ + "dist.dir = \${base.dir}/dist\n" \ + "servlet24.jar=$(java-pkg_getjar servletapi-2.4 servlet-api.jar)\n" \ + "jsp20.jar=$(java-pkg_getjar servletapi-2.4 jsp-api.jar)\n" \ + > build.properties +} + +src_compile() { + eant build $(use_doc javadoc-dist) +} + +src_install() { + java-pkg_dojar ${S}/../build/standard/standard/lib/*.jar + + use doc && java-pkg_dohtml -r ${S}/doc/web/* ${S}/../dist/standard/javadoc/ + if use examples; then + dodir /usr/share/doc/${PF}/examples + cp -r ${S}/examples/* ${D}/usr/share/doc/${PF}/examples + fi + use source && java-pkg_dosrc ${S}/src/* +} |