/[gentoo-x86]/dev-java/tomcat-jstl-el/tomcat-jstl-el-1.2.5.ebuild
Gentoo

Contents of /dev-java/tomcat-jstl-el/tomcat-jstl-el-1.2.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Jul 12 23:01:14 2015 UTC (4 years, 6 months ago) by monsieurp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Fix a typo in HOMEPAGE.

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-jstl-el/tomcat-jstl-el-1.2.5.ebuild,v 1.2 2015/06/08 21:03:56 monsieurp Exp $
4
5 EAPI=5
6 JAVA_PKG_IUSE="doc source"
7
8 inherit java-pkg-2 java-ant-2 eutils
9
10 MY_PN="taglibs-standard"
11 MY_P="${MY_PN}-${PV}"
12 MY_EL="${MY_PN}-jstlel"
13
14 DESCRIPTION="JSP Standard Tag Library (JSTL) - EL jar"
15 HOMEPAGE="https://tomcat.apache.org/taglibs/standard/"
16 SRC_URI="http://apache.mirrors.ovh.net/ftp.apache.org/dist/tomcat/taglibs/${MY_P}/${MY_P}-source-release.zip"
17
18 LICENSE="Apache-2.0"
19 SLOT="1.2.5"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="test"
22
23 CDEPEND="java-virtuals/servlet-api:3.0
24 dev-java/tomcat-jstl-impl:1.2.5
25 dev-java/tomcat-jstl-spec:1.2.5"
26 RDEPEND=">=virtual/jre-1.6
27 ${CDEPEND}"
28 DEPEND=">=virtual/jdk-1.6
29 test? (
30 dev-java/ant-junit:0
31 dev-java/easymock:3.2
32 )
33 ${CDEPEND}"
34
35 S="${WORKDIR}/${MY_P}"
36
37 JAVA_ANT_REWRITE_CLASSPATH="yes"
38 EANT_GENTOO_CLASSPATH="servlet-api-3.0,tomcat-jstl-spec-1.2.5,tomcat-jstl-impl-1.2.5"
39 EANT_BUILD_TARGET="package"
40 EANT_BUILD_XML="jstlel/build.xml"
41
42 java_prepare() {
43 cp "${FILESDIR}"/${P}-build.xml "${S}"/jstlel/build.xml
44 }
45
46 EANT_TEST_TARGET="test"
47 EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},easymock-3.2"
48
49 src_test() {
50 java-pkg-2_src_test
51 }
52
53 src_install() {
54 java-pkg_newjar "${S}"/jstlel/target/${MY_EL}-${PV}.jar ${MY_EL}.jar
55
56 if use doc; then
57 java-pkg_dohtml -r "${S}"/jstlel/target/site/apidocs/
58 fi
59
60 if use source; then
61 java-pkg_dosrc "${S}"/jstlel/src/*
62 fi
63 }

  ViewVC Help
Powered by ViewVC 1.1.20