summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2002-07-20 04:17:27 +0000
committerGeorge Shapovalov <george@gentoo.org>2002-07-20 04:17:27 +0000
commit1f1f530dd7bc91e8b37ca097a57d06aba0d110a6 (patch)
tree7ba72bb7218ec378e7257b90549b8cc36b24b672 /dev-lang/tcc
parentmasked tcc for testing (diff)
downloadgentoo-2-1f1f530dd7bc91e8b37ca097a57d06aba0d110a6.tar.gz
gentoo-2-1f1f530dd7bc91e8b37ca097a57d06aba0d110a6.tar.bz2
gentoo-2-1f1f530dd7bc91e8b37ca097a57d06aba0d110a6.zip
new package: tcc - tiny C interpreter
Diffstat (limited to 'dev-lang/tcc')
-rw-r--r--dev-lang/tcc/ChangeLog16
-rw-r--r--dev-lang/tcc/files/digest-tcc-0.9.71
-rw-r--r--dev-lang/tcc/tcc-0.9.7.ebuild28
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-lang/tcc/ChangeLog b/dev-lang/tcc/ChangeLog
new file mode 100644
index 000000000000..bfa365e9d46b
--- /dev/null
+++ b/dev-lang/tcc/ChangeLog
@@ -0,0 +1,16 @@
+# 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.1 2002/07/20 04:17:27 george Exp $
+
+*tcc-0.9.7.ebuild (19 Jul 2002)
+
+ 19 Jul 2002; George Shapovalov <george@gentoo.org> tcc-0.9.7.ebuild :
+
+ initial release
+
+ A very small C compiler for ix86 (64 K). It compiles and execute
+ C source directly without linking or assembly, and does not (yet ?) output elf
+ binary file. You can also use it like in a script with #!/usr/bin/tcc in your C
+ source. Very funny :-).
+
+ ebuild submitted by Julien Herfurth <jherfurth@arafox.com>
diff --git a/dev-lang/tcc/files/digest-tcc-0.9.7 b/dev-lang/tcc/files/digest-tcc-0.9.7
new file mode 100644
index 000000000000..94886fb23738
--- /dev/null
+++ b/dev-lang/tcc/files/digest-tcc-0.9.7
@@ -0,0 +1 @@
+MD5 928161509f3f7d59dd50c6b53a18bbf9 tcc-0.9.7.tar.gz 105118
diff --git a/dev-lang/tcc/tcc-0.9.7.ebuild b/dev-lang/tcc/tcc-0.9.7.ebuild
new file mode 100644
index 000000000000..7bbf58a9abf2
--- /dev/null
+++ b/dev-lang/tcc/tcc-0.9.7.ebuild
@@ -0,0 +1,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.1 2002/07/20 04:17:27 george Exp $
+
+DESCRIPTION="A very small C compiler for ix86"
+HOMEPAGE="http://ww.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
+}