summaryrefslogtreecommitdiff
blob: e9e45ddef3e3bfce4b40e28c4161e379b2e2ce2c (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-java/kaffe/kaffe-1.0.6-r3.ebuild,v 1.4 2002/08/01 11:58:59 seemant Exp $

S=${WORKDIR}/${P}
DESCRIPTION="A cleanroom, open source Java VM and class libraries"
SRC_URI="http://www.kaffe.org/ftp/pub/kaffe/${P}.tar.gz"
HOMEPAGE="http://www.kaffe.org/"

DEPEND=">=dev-libs/gmp-3.1
        >=media-libs/jpeg-6b
        >=media-libs/libpng-1.2.1
	virtual/glibc
	virtual/x11"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

src_unpack() {
	unpack ${A}
	patch -p0 <${FILESDIR}/${PF}-gentoo.diff || die
}

src_compile() {
	./configure --host=${CHOST}					\
		    --prefix=/opt/kaffe 
	make || die
}

src_install () {
	make DESTDIR=${D} install || die

	dodir /etc/env.d
	insinto /etc/env.d
	doins ${FILESDIR}/30kaffe
	#30kaffe will set up the ld.so.path, path, manpath, etc.
}