/[gentoo-x86]/dev-java/resin-servlet-api/resin-servlet-api-4.0.13.ebuild
Gentoo

Contents of /dev-java/resin-servlet-api/resin-servlet-api-4.0.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Mar 7 09:30:52 2011 UTC (3 years, 5 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable on amd64 wrt bug #353881

(Portage version: 2.1.9.41/cvs/Linux x86_64)

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/resin-servlet-api/resin-servlet-api-4.0.13.ebuild,v 1.2 2011/03/03 08:59:52 tomka Exp $
4
5 EAPI="2"
6
7 JAVA_PKG_IUSE="source"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="Resin Servlet API 3.0/JSP API 2.1 implementation"
12 HOMEPAGE="http://www.caucho.com/"
13 SRC_URI="http://www.caucho.com/download/resin-${PV}-src.zip"
14
15 LICENSE="GPL-2"
16 SLOT="3.0"
17 KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
18
19 IUSE=""
20
21 COMMON_DEP=""
22
23 RDEPEND=">=virtual/jre-1.6
24 ${COMMON_DEP}"
25 DEPEND=">=virtual/jdk-1.6
26 app-arch/unzip
27 ${COMMON_DEP}"
28
29 S="${WORKDIR}/resin-${PV}"
30
31 src_unpack() {
32 unpack ${A}
33
34 cd "${S}"
35 rm -f modules/ext/*.jar project-jars/*.jar
36 java-ant_bsfix_files build-common.xml || die
37 }
38
39 EANT_BUILD_TARGET="servlet16"
40 EANT_DOC_TARGET=""
41
42 src_install() {
43 java-pkg_newjar "modules/servlet16/dist/servlet-16.jar"
44 use source && java-pkg_dosrc "${S}"/modules/servlet16/src/*
45
46 dosym "${PN}.jar" "/usr/share/${PN}-${SLOT}/lib/servlet-api.jar"
47 java-pkg_regjar "${D}/usr/share/${PN}-${SLOT}/lib/servlet-api.jar"
48 dosym "${PN}.jar" "/usr/share/${PN}-${SLOT}/lib/jsp-api.jar"
49 java-pkg_regjar "${D}/usr/share/${PN}-${SLOT}/lib/jsp-api.jar"
50 }

  ViewVC Help
Powered by ViewVC 1.1.20