summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2002-12-11 07:18:48 +0000
committerGeorge Shapovalov <george@gentoo.org>2002-12-11 07:18:48 +0000
commit079acf2229492ea1586facac0a6b5a380ef796f5 (patch)
tree26c533ff390f0c0b2aba63a0ee07a8efc731bb04 /dev-lang/tcc
parentUnmasked after many users report working ebuilds. (diff)
downloadhistorical-079acf2229492ea1586facac0a6b5a380ef796f5.tar.gz
historical-079acf2229492ea1586facac0a6b5a380ef796f5.tar.bz2
historical-079acf2229492ea1586facac0a6b5a380ef796f5.zip
version update. Now tcc compiles more packages
Diffstat (limited to 'dev-lang/tcc')
-rw-r--r--dev-lang/tcc/ChangeLog14
-rw-r--r--dev-lang/tcc/files/digest-tcc-0.9.141
-rw-r--r--dev-lang/tcc/tcc-0.9.14.ebuild44
3 files changed, 56 insertions, 3 deletions
diff --git a/dev-lang/tcc/ChangeLog b/dev-lang/tcc/ChangeLog
index 985e88cd55fc..ddbec458cd64 100644
--- a/dev-lang/tcc/ChangeLog
+++ b/dev-lang/tcc/ChangeLog
@@ -1,11 +1,19 @@
# ChangeLog for dev-lang/tcc
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/ChangeLog,v 1.2 2002/12/09 04:20:59 manson Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/ChangeLog,v 1.3 2002/12/11 07:18:48 george Exp $
-\* Autoupdate keywords (12-6-02)
+*tcc-0.9.14 (10 Dec 2002)
+
+ 10 Dec 2002; George Shapovalov <george@gentoo.org> tcc-0.9.14.ebuild, files/digest-tcc-0.9.14 :
+
+ new version.
+ Now tcc compiles more packages (e.g. smarteiffel).
+ Thanks to Per Wigren <wigren@home.se> for an update
+
+* Autoupdate keywords (12-6-02)
06 Dec 2002; Rodney Rees <manson@gentoo.org> changed sparc ~sparc keywords
-*tcc-0.9.7.ebuild (19 Jul 2002)
+*tcc-0.9.7 (19 Jul 2002)
19 Jul 2002; George Shapovalov <george@gentoo.org> tcc-0.9.7.ebuild :
diff --git a/dev-lang/tcc/files/digest-tcc-0.9.14 b/dev-lang/tcc/files/digest-tcc-0.9.14
new file mode 100644
index 000000000000..830dd5d3da05
--- /dev/null
+++ b/dev-lang/tcc/files/digest-tcc-0.9.14
@@ -0,0 +1 @@
+MD5 d26a8fc2f319204824fc24b02f54918d tcc-0.9.14.tar.gz 154837
diff --git a/dev-lang/tcc/tcc-0.9.14.ebuild b/dev-lang/tcc/tcc-0.9.14.ebuild
new file mode 100644
index 000000000000..fa24409b5d78
--- /dev/null
+++ b/dev-lang/tcc/tcc-0.9.14.ebuild
@@ -0,0 +1,44 @@
+# 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.14.ebuild,v 1.1 2002/12/11 07:18:48 george Exp $
+
+IUSE=""
+
+DESCRIPTION="A very small C compiler for ix86"
+HOMEPAGE="http://www.tinycc.org/"
+LICENSE="GPL-2"
+DEPEND="virtual/glibc"
+SRC_URI="http://fabrice.bellard.free.fr/tcc/${P}.tar.gz"
+S=${WORKDIR}/${P}
+
+SLOT="0"
+KEYWORDS="~x86 ~sparc"
+
+src_compile() {
+ mv Makefile Makefile.orig || die
+ sed -e 's:prefix=/usr/local:prefix=/usr:g' \
+ -e 's:$(INSTALL) tcc.1 $(manpath)/man1::' \
+ -e "s:-O2:${CFLAGS} -DRTLD_DEFAULT=NULL:g" \
+ -e 's:-m386::g' \
+ Makefile.orig > Makefile || die
+ emake || die
+
+ # Fix examples
+ for example in ex*.c; do
+ tail -n +2 $example >$example.temp
+ echo '#! /usr/bin/env tcc' >$example
+ cat $example.temp >>$example
+ chmod 755 $example
+ done
+}
+
+src_install () {
+ dodir /usr/bin
+ dodir /usr/lib
+ make prefix=${D}/usr install || die
+ doman tcc.1
+ dodoc Changelog README TODO
+ dohtml tcc-doc.html
+ mkdir ${D}/usr/share/doc/${P}/examples
+ cp ex*.c ${D}/usr/share/doc/${P}/examples/
+}