blob: e154a99c9218968ded184e9a0853e0b5d802bdfc (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-lang/jdk/jdk-1.3.0.ebuild,v 1.4 2001/05/01 18:29:05 achim Exp $
P=jdk-1.3.0
A=j2sdk-1.3.0-FCS-linux-i386.tar.bz2
S=${WORKDIR}/j2sdk1.3.0
DESCRIPTION="Blackdown JDK 1.3.0"
SRC_URI="http://www.ibiblio.org/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.0/i386/FCS/${A}"
HOMEPAGE="http://www.blackdown.org/java-linux.html"
DEPEND=">=sys-apps/bash-2.04
>=sys-libs/glibc-2.1.3
virtual/x11"
src_compile() {
cd ${S}
}
src_install() {
dodir /opt/jdk-${PV}
dodir /usr
cp -a ${S}/bin ${D}/opt/jdk-${PV}
cp -a ${S}/demo ${D}/opt/jdk-${PV}
cp -a ${S}/include ${D}/opt/jdk-${PV}
cp -a ${S}/lib ${D}/opt/jdk-${PV}
cp -a ${S}/jre ${D}/opt/jdk-${PV}
cp -a ${S}/man ${D}/usr
cp ${S}/src.jar ${D}/opt/jdk-${PV}
into /usr
dodoc COPYRIGHT LICENSE README
insinto /etc/env.d
doins ${FILESDIR}/20jdk
docinto html
dodoc README.html
}
pkg_postinst () {
ln -s ${ROOT}/opt/jdk-${PV} ${ROOT}/opt/java
}
|