blob: 91ffa60b849b8c8d185bb05282d2dd69d3351d71 (
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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/tcc-0.9.7.ebuild,v 1.2 2002/07/20 18:35:16 george Exp $
DESCRIPTION="A very small C compiler for ix86"
HOMEPAGE="http://www.tinycc.org/"
LICENSE="GPL-2"
DEPEND=""
RDEPEND="${DEPEND}"
SRC_URI="http://fabrice.bellard.free.fr/tcc/${P}.tar.gz"
S=${WORKDIR}/${P}
SLOT="0"
KEYWORDS="x86"
src_compile() {
mv Makefile Makefile.orig || die
sed -e 's:prefix=/usr/local:prefix=/usr:g' Makefile.orig > Makefile || die
emake || die
}
src_install () {
dodir /usr/bin
dodir /usr/lib
make prefix=${D}/usr install || die
dodoc Changelog README TODO ex*.c
dohtml tcc-doc.html
}
|