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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun May 11 16:52:44 2008 UTC (6 years, 4 months ago) by corsair
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable on ppc64; bug #221263
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 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.0.25.ebuild,v 1.3 2008/05/11 13:34:52 maekke Exp $
4
5 JAVA_PKG_IUSE="source"
6
7 inherit eutils java-pkg-2 java-ant-2
8
9 DESCRIPTION="Resin Servlet API 2.4/JSP API 2.0 implementation"
10 HOMEPAGE="http://www.caucho.com/"
11 SRC_URI="http://www.caucho.com/download/resin-${PV}-src.zip
12 mirror://gentoo/resin-gentoo-patches-${PV}.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="2.4"
16 KEYWORDS="amd64 ppc ppc64 x86"
17
18 IUSE=""
19
20 COMMON_DEP=""
21
22 RDEPEND=">=virtual/jre-1.4
23 ${COMMON_DEP}"
24 DEPEND=">=virtual/jdk-1.4
25 app-arch/unzip
26 ${COMMON_DEP}"
27
28 S="${WORKDIR}/resin-${PV}"
29
30 src_unpack() {
31
32 unpack ${A}
33
34 mkdir "${S}/lib"
35
36 cd "${S}"
37 epatch "${WORKDIR}/${PV}/resin-${PV}-build.xml.patch"
38
39 }
40
41 EANT_BUILD_TARGET="jsdk"
42 EANT_DOC_TARGET=""
43
44 src_install() {
45
46 java-pkg_newjar "lib/jsdk-24.jar"
47 use source && java-pkg_dosrc "${S}"/modules/jsdk/src/*
48
49 }

  ViewVC Help
Powered by ViewVC 1.1.20