blob: 822cac51a822143ecf82af8d03e95a38852820e5 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee/sun-j2ee-1.3.ebuild,v 1.4 2002/08/01 11:40:14 seemant Exp $
At=j2sdkee-1_3_01-linux.tar.gz
S=${WORKDIR}/j2sdkee1.3
DESCRIPTION="Sun's Java 2 Enterprise Edition Development Kit"
SRC_URI=""
HOMEPAGE="http://java.sun.com/j2ee/download.html#sdk"
DEPEND="virtual/glibc"
RDEPEND=">=virtual/jre-1.3"
PROVIDE="virtual/j2ee-1.3"
src_unpack() {
if [ ! -f ${DISTDIR}/${At} ] ; then
die "Please download ${At} from ${HOMEPAGE}"
fi
unpack ${At}
}
src_install () {
local dirs="bin lib conf config cloudscape lib images nativelib repository public_html logs help images"
dodir /opt/${P}
for i in $dirs ; do
cp -a $i ${D}/opt/${P}/
done
dodoc LICENSE README
dohtml -r doc/*
}
src_postinst() {
einfo "Remember to set JAVA_HOME before running /opt/${P}/bin/j2ee"
einfo "A set of sample configuration files (that work) can be found in /opt/${P}/conf and /opt/${P}/config"
}
|