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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Mar 15 21:58:44 2011 UTC (3 years, 9 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
ppc/ppc64 stable wrt #348515

(Portage version: 2.2.0_alpha27/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-3.1.10.ebuild,v 1.3 2010/12/20 12:18:49 hwoarang 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 2.5/JSP API 2.1 implementation"
12 HOMEPAGE="http://www.caucho.com/"
13 SRC_URI="http://www.caucho.com/download/resin-${PV}-src.zip
14 mirror://gentoo/resin-gentoo-patches-${PV}.tar.bz2"
15
16 LICENSE="GPL-2"
17 SLOT="2.5"
18 KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
19
20 IUSE=""
21
22 COMMON_DEP=""
23
24 RDEPEND=">=virtual/jre-1.5
25 ${COMMON_DEP}"
26 DEPEND=">=virtual/jdk-1.5
27 app-arch/unzip
28 ${COMMON_DEP}"
29
30 S="${WORKDIR}/resin-${PV}"
31
32 src_prepare() {
33 mkdir -p "${S}/lib"
34 epatch "${WORKDIR}/${PV}/resin-${PV}-build.xml.patch"
35 }
36
37 EANT_BUILD_TARGET="jsdk"
38 EANT_DOC_TARGET=""
39
40 src_install() {
41 java-pkg_newjar "lib/jsdk-15.jar"
42 use source && java-pkg_dosrc "${S}"/modules/jsdk/src/*
43
44 dosym "${PN}.jar" "/usr/share/${PN}-${SLOT}/lib/servlet-api.jar"
45 java-pkg_regjar "${D}/usr/share/${PN}-${SLOT}/lib/servlet-api.jar"
46 dosym "${PN}.jar" "/usr/share/${PN}-${SLOT}/lib/jsp-api.jar"
47 java-pkg_regjar "${D}/usr/share/${PN}-${SLOT}/lib/jsp-api.jar"
48 }

  ViewVC Help
Powered by ViewVC 1.1.20