summaryrefslogtreecommitdiff
blob: f883ea453e9efb57fdb95311f685d0967b865840 (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
# 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.6 2001/11/10 11:31:52 hallski Exp $

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/j2sdk-1.3.0-FCS-linux-i386.tar.bz2"
HOMEPAGE="http://www.blackdown.org/java-linux.html"

DEPEND="virtual/glibc"
RDEPEND="virtual/glibc
	virtual/x11"

src_install() {
  dodir /opt/jdk-${PV}
  dodir /usr/share
  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/share
  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
}