blob: 46f44dd46c6b8567f4529c671185efb7fc01d9a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-deployment-api/glassfish-deployment-api-1.2.ebuild,v 1.5 2011/03/23 20:04:02 betelgeuse Exp $
EAPI="2"
JAVA_PKG_IUSE="source"
inherit eutils java-pkg-2 java-ant-2
MY_PV=${PV/./_}
DESCRIPTION="J2EE Application Deployment Specification"
HOMEPAGE="https://glassfish.dev.java.net/"
LICENSE="|| ( CDDL GPL-2 )"
SLOT="1.2"
KEYWORDS="amd64 ppc x86"
GLASSFISH_MAJOR="v2ur2"
GLASSFISH_MINOR="b04"
SRC_URI="http://download.java.net/javaee5/${GLASSFISH_MAJOR}/promoted/source/glassfish-${GLASSFISH_MAJOR}-${GLASSFISH_MINOR}-src.zip"
IUSE=""
DEPEND=">=virtual/jdk-1.5
app-arch/unzip"
RDEPEND=">=virtual/jre-1.5"
S="${WORKDIR}/glassfish/deployment-api/"
EANT_BUILD_TARGET="all"
src_prepare() {
default
cd "${S}"
epatch "${FILESDIR}/${P}-build.xml.patch"
}
src_install() {
java-pkg_newjar "deployment-api.jar"
use source && java-pkg_dosrc src/java/javax
}
|