blob: f016f4b0e7cedb2a65fdb1b4df0e273f056eca75 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild,v 1.1 2005/01/07 13:27:35 luckyduck Exp $
inherit java-pkg
DESCRIPTION="The J2EE Connector architecture provides a Java solution to the problem of connectivity between the many application servers and EISs already in existence."
HOMEPAGE="http://java.sun.com/j2ee/connector/index.jsp"
SRC_URI="j2ee_connector-1_5-fr-spec-classes.zip"
LICENSE="sun-bcla-connector"
SLOT=1.5
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.3"
DEPEND="app-arch/unzip"
RESTRICT="fetch"
pkg_nofetch() {
einfo " "
einfo " Due to license restrictions, we cannot fetch the"
einfo " distributables automagically."
einfo " "
einfo " 1. Visit ${HOMEPAGE} and select 'Downloads'"
einfo " 2. Select 'J2EE Connector Architecture Specification - 1.5 - Download class file."
einfo " 3. Download ${A}"
einfo " 4. Move file to ${DISTDIR}"
einfo " "
}
src_unpack() {
if [ ! -f "${DISTDIR}/${A}" ] ; then
echo " "
echo "!!! Missing ${DISTDIR}/${A}"
echo " "
einfo " "
einfo " Due to license restrictions, we cannot fetch the"
einfo " distributables automagically."
einfo " "
einfo " 1. Visit ${HOMEPAGE} and select 'Downloads'"
einfo " 2. Select 'J2EE Connector Architecture Specification - 1.5 - Download class file."
einfo " 3. Download ${A}"
einfo " 4. Move file to ${DISTDIR}"
einfo " 5. Run emerge on this package again to complete"
einfo " "
die "User must manually download distfile"
fi
unzip -qq ${DISTDIR}/${A}
}
src_compile() {
:;
}
src_install() {
cd ${WORKDIR}
java-pkg_dojar connector-api.jar
dodoc LICENSE.txt
}
|