blob: b160a1d95d617c7053aff0f87e124ab931e415e9 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-ejb-spec/sun-ejb-spec-2.1.ebuild,v 1.2 2006/01/22 14:58:33 nichoj Exp $
inherit java-pkg versionator
MY_PN=ejb
MY_PV=$(replace_all_version_separators _)
MY_P="${MY_PN}-${MY_PV}"
At="${MY_P}-fr-spec-api.zip"
DESCRIPTION="Sun's Enterprise Java Beans specification"
HOMEPAGE="http://java.sun.com/products/ejb/"
SRC_URI="${At}"
DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=ejb-${PV}-fr-class-oth-JSpec&SiteId=JSC&TransactionId=noreg"
LICENSE="sun-ejb-spec-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.4"
DEPEND="app-arch/unzip"
RESTRICT="fetch"
S="${WORKDIR}"
pkg_nofetch() {
einfo "Please download ${A} from the following URL and place it in ${DISTDIR}:"
einfo "${DOWNLOAD_URL}"
}
src_install() {
java-pkg_newjar ${MY_P}-api.jar ${MY_PN}-api.jar
}
|