summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-01-06 20:33:58 +0000
committerMike Frysinger <vapier@gentoo.org>2003-01-06 20:33:58 +0000
commitb6608c61291ed14f30dca60d66a950f25332e60b (patch)
tree841abcfa68e59d863e70683fcc4193c6454237aa /dev-lang
parentadd alpha (diff)
downloadgentoo-2-b6608c61291ed14f30dca60d66a950f25332e60b.tar.gz
gentoo-2-b6608c61291ed14f30dca60d66a950f25332e60b.tar.bz2
gentoo-2-b6608c61291ed14f30dca60d66a950f25332e60b.zip
version bump
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/tcc/ChangeLog11
-rw-r--r--dev-lang/tcc/files/digest-tcc-0.9.161
-rw-r--r--dev-lang/tcc/tcc-0.9.16.ebuild42
3 files changed, 49 insertions, 5 deletions
diff --git a/dev-lang/tcc/ChangeLog b/dev-lang/tcc/ChangeLog
index 37bd1e166f76..0e81cec7ac6c 100644
--- a/dev-lang/tcc/ChangeLog
+++ b/dev-lang/tcc/ChangeLog
@@ -1,18 +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.4 2002/12/13 10:56:26 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/ChangeLog,v 1.5 2003/01/06 20:33:58 vapier Exp $
+
+*tcc-0.9.16 (06 Jan 2003)
+
+ 06 Jan 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump
*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 (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.16 b/dev-lang/tcc/files/digest-tcc-0.9.16
new file mode 100644
index 000000000000..422de2ef7a56
--- /dev/null
+++ b/dev-lang/tcc/files/digest-tcc-0.9.16
@@ -0,0 +1 @@
+MD5 ea967671a6e2827424b8d234f7db8d9c tcc-0.9.16.tar.gz 175253
diff --git a/dev-lang/tcc/tcc-0.9.16.ebuild b/dev-lang/tcc/tcc-0.9.16.ebuild
new file mode 100644
index 000000000000..52af453df0a2
--- /dev/null
+++ b/dev-lang/tcc/tcc-0.9.16.ebuild
@@ -0,0 +1,42 @@
+# 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.16.ebuild,v 1.1 2003/01/06 20:33:58 vapier Exp $
+
+DESCRIPTION="A very small C compiler for ix86"
+HOMEPAGE="http://www.tinycc.org/"
+SRC_URI="http://fabrice.bellard.free.fr/tcc/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~sparc"
+
+DEPEND="virtual/glibc"
+
+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/${PF}/examples
+ cp ex*.c ${D}/usr/share/doc/${PF}/examples/
+}