/[gentoo-x86]/dev-java/glassfish-servlet-api/glassfish-servlet-api-2_beta44.ebuild
Gentoo

Contents of /dev-java/glassfish-servlet-api/glassfish-servlet-api-2_beta44.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Feb 10 17:57:36 2011 UTC (3 years, 10 months ago) by tomka
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
x86 stable per bug 351433

(Portage version: 2.1.9.38/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-servlet-api/glassfish-servlet-api-2_beta44.ebuild,v 1.3 2011/01/12 17:00:38 hwoarang Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit base java-pkg-2 java-ant-2
8
9 MY_PV="${PV/_beta/-b}"
10 DESCRIPTION="Glassfish reference implementation of Servlet API 2.5 and JSP API 2.1"
11 HOMEPAGE="https://glassfish.dev.java.net/javaee5/webtier/webtierhome.html"
12 SRC_URI="http://download.java.net/javaee5/trunk/promoted/source/glassfish-v${MY_PV}-src.zip"
13 LICENSE="CDDL"
14 SLOT="2.5"
15 KEYWORDS="amd64 x86"
16
17 DEPEND=">=virtual/jdk-1.5
18 app-arch/unzip"
19
20 RDEPEND=">=virtual/jre-1.5"
21
22 S="${WORKDIR}/glassfish/servlet-api/"
23
24 PATCHES=( "${FILESDIR}/build_xml.patch" )
25
26 src_compile() {
27 eant build $(use doc || echo -Ddocs.uptodate=true)
28 }
29
30 src_install() {
31 java-pkg_dojar "${S}"/src/jakarta-servletapi-5/jsr154/dist/lib/*.jar
32 java-pkg_dojar "${S}"/src/jsr245/dist/lib/*.jar
33
34 use doc && java-pkg_dojavadoc src/jsr245/build/docs/api
35 use source && java-pkg_dosrc src/*
36 }

  ViewVC Help
Powered by ViewVC 1.1.20