/[gentoo-x86]/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild
Gentoo

Contents of /dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Dec 30 12:52:32 2010 UTC (8 years, 5 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
Bring over testing keywords from dev-java/jta so it can be masked for removal.

(Portage version: 2.2.0_alpha4/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild,v 1.7 2009/12/29 05:15:52 josejx Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit versionator java-pkg-2 java-ant-2
8
9 DESCRIPTION="Java Transaction API"
10 HOMEPAGE="https://glassfish.dev.java.net/"
11 MAJOR=v$(get_version_component_range 3-4)
12 MAJOR=$(replace_version_separator 1 ur ${MAJOR})
13 MY_PV=${MAJOR}-b$(get_version_component_range 5)
14 MY_PN=${PN/-//}
15 ZIP="glassfish-${MY_PV}-src.zip"
16 SRC_URI="http://download.java.net/javaee5/${MAJOR}/promoted/source/${ZIP}"
17
18 LICENSE="|| ( CDDL GPL-2 )"
19 SLOT="0"
20 KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
21
22 IUSE=""
23
24 RDEPEND=">=virtual/jre-1.4
25 ${COMMON_DEP}"
26 DEPEND=">=virtual/jdk-1.4
27 app-arch/unzip
28 ${COMMON_DEP}"
29
30 S=${WORKDIR}/${MY_PN}
31
32 src_unpack() {
33 unzip -q "${DISTDIR}/${ZIP}" "${MY_PN}/*" "glassfish/bootstrap/*" \
34 || die "unpacking failed"
35 einfo "${S}"
36 }
37
38 EANT_DOC_TARGET="javadocs"
39
40 src_install() {
41 java-pkg_dojar build/release/*.jar
42 use doc && java-pkg_dojavadoc docs
43 use source && java-pkg_dosrc src/java/javax
44 }

  ViewVC Help
Powered by ViewVC 1.1.20