summaryrefslogtreecommitdiff
blob: 287688ee76c2f0360c63a73d6f4b90278d7e17a4 (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
# 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/jikes/jikes-1.15.ebuild,v 1.4 2002/07/11 06:30:19 drobbins Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Jikes - IBM's open source, high performance java compiler"
SRC_URI="ftp://www-126.ibm.com/pub/jikes/${P}.tar.gz"
HOMEPAGE="http://oss.software.ibm.com/developerworks/opensource/jikes/"

DEPEND="virtual/glibc"

src_unpack() {

	unpack ${A}
	patch -p0 < ${FILESDIR}/jikes-1.15-gcc3.patch || die

}

src_compile() {
    ./configure --prefix=/usr/ --mandir=/usr/share/man --host=${CHOST} || die
    emake || die
}

src_install () {
    make DESTDIR=${D} install || die
    dodoc ChangeLog COPYING AUTHORS README TODO NEWS
    mv ${D}/usr/doc/${P} ${D}/usr/share/doc/${PF}/html
    rm -rf ${D}/usr/doc
}