blob: 7c62d74ba617f0c7ac1ecb194e65174b2795c7f5 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cocom/cocom-0.995.ebuild,v 1.4 2008/01/12 21:16:31 grobian Exp $
inherit eutils
DESCRIPTION="Tool set oriented onto the creation of compilers, cross-compilers, interpreters, and other language processors"
HOMEPAGE="http://cocom.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
DEPEND="virtual/libc"
src_unpack() {
unpack "${A}"
epatch "${FILESDIR}/${P}"-gcc4.patch
}
src_compile() {
econf || die
emake -j1 || die "emake failed"
}
src_install() {
make install DESTDIR=${D} || die
}
|