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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Feb 11 18:45:40 2012 UTC (6 years, 3 months ago) by nelchael
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.1.10.45/cvs/Linux x86_64)

1 nelchael 1.1 # Copyright 1999-2012 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.22.ebuild,v 1.1 2011/09/06 16:38:38 nelchael 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 webapp-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