ChangeLog

# ChangeLog for dev-lang/tcc
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/ChangeLog,v 1.26 2007/05/12 11:27:30 truedfx Exp $

12 May 2007; Harald van Dijk
-files/tcc-0.9.20-gcc34.patch, +files/tcc-0.9.23-nxbit.patch,
-tcc-0.9.19.ebuild, -tcc-0.9.20.ebuild, -tcc-0.9.22.ebuild,
tcc-0.9.23-r1.ebuild:
Fix crash on nxbit-enabled CPUs (#178168), remove older versions

27 Apr 2007; Raúl Porcel tcc-0.9.23-r1.ebuild:
x86 stable wrt #176070

22 Feb 2007; Piotr Jaroszyński ChangeLog:
Transition to Manifest2.

14 Oct 2006; Bryan Østergaard metadata.xml:
Remove spider from metadata.xml due to retiring.

26 Aug 2006; Harald van Dijk tcc-0.9.23-r1.ebuild:
Block tendra (to avoid a file collision)

*tcc-0.9.23-r1 (24 Aug 2006)

24 Aug 2006; Harald van Dijk
+files/tcc-0.9.23-anonunion.patch, +files/tcc-0.9.23-asneeded.patch,
-tcc-0.9.23.ebuild, +tcc-0.9.23-r1.ebuild:
Make tcc install correctly and work with glibc 2.4 (#132095)

08 Jan 2006; Mark Loeser tcc-0.9.22.ebuild:
Stable on x86; bug #116169

*tcc-0.9.23 (08 Jan 2006)

08 Jan 2006; George Shapovalov +tcc-0.9.23.ebuild:
new version, adjusted src_install to follow new Makefile

02 Jun 2005; Stephanie Lockwood-Childs tcc-0.9.19.ebuild,
tcc-0.9.20.ebuild, tcc-0.9.22.ebuild:
keywording all versions -* [~]x86 (was previously marked -sparc and -amd64,
no arches other than x86 are supported at this time)

*tcc-0.9.22 (11 Nov 2004)

11 Nov 2004; +tcc-0.9.22.ebuild:
Updated ebuild, thanks to Olaf Freyer and Thomas Eckert

07 Oct 2004; George Shapovalov tcc-0.9.{19,20}.ebuild :
marked all versions -amd64. tcc apparently does not know about this arch (configure borks)
even though theoretically it might be able to digest it
Changed herd in metadata to lang-misc, no-herd is against the policy!!!
correspondingly I do not need to be noted as a separate maintainer, I am on that herd.

27 Sep 2004; Karol Wojtaszek
+files/tcc-0.9.20-gcc34.patch, -tcc-0.9.14.ebuild, -tcc-0.9.16.ebuild,
tcc-0.9.20.ebuild, -tcc-0.9.7.ebuild, -tcc-0.9.8.ebuild:
Fixed gcc-3.4 compile issues, Bug #65346. Ebuild clean up.

01 Jul 2004; Jeremy Huddleston tcc-0.9.14.ebuild,
tcc-0.9.16.ebuild, tcc-0.9.19.ebuild, tcc-0.9.20.ebuild, tcc-0.9.8.ebuild:
virtual/glibc -> virtual/libc

05 Mar 2004; Gustavo Zacarias tcc-0.9.14.ebuild,
tcc-0.9.16.ebuild, tcc-0.9.19.ebuild, tcc-0.9.20.ebuild, tcc-0.9.7.ebuild,
tcc-0.9.8.ebuild:
marking all -sparc, who marked them sparc / ~sparc ?!?

*tcc-0.9.20 (14 Oct 2003)

14 Oct 2003; :
Update version to fix linking error with array not found

09 Jun 2003; George Shapovalov tcc-0.9.19.ebuild :
changed LICENSE to LGPL-2.1 from GPL-2, seems to have changed recently.
Thanks to Brian Olsen for notification

*tcc-0.9.19 (05 May 2003)

05 May 2003; George Shapovalov tcc-0.9.19.ebuild, files/digest-tcc-0.9.19 :
new version (#21363)
now uses autoconf-based install (albet there were some problems, see the bug for details)
thanks to Thomas Eckert for update

*tcc-0.9.16 (06 Jan 2003)

06 Jan 2003; Mike Frysinger :
Version bump

*tcc-0.9.14 (10 Dec 2002)

10 Dec 2002; George Shapovalov 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 for an update

*tcc-0.9.8 (13 Feb 2003)

11 Jul 2003; Daniel Ahlberg :
Added missing changelog entry.

*tcc-0.9.7 (19 Jul 2002)

19 Jul 2002; George Shapovalov 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

Manifest

AUX tcc-0.9.23-anonunion.patch 1971 RMD160 5268cbdbbbb302b8a4a58fba0644f336a90102e7 SHA1 a0d8392187d1965d701feb4892d57141633147c4 SHA256 32ecc52923bb10a6ff43e507e097d41c7da8717a6b2e749bccd4f0310704e9a5
AUX tcc-0.9.23-asneeded.patch 1711 RMD160 6e0cf4ffe8a7c14d6090b8aa8c9fdfce19f23919 SHA1 a043fa74a37f32b2e2f039c0c440af19ce7f10b0 SHA256 14d3029d2cb7a27c3dfbdc98562aa309d5a3002218ba115584c605ea4cd8e839
AUX tcc-0.9.23-nxbit.patch 2160 RMD160 f3b2632ceb45220b24654a30f3f60df27c2bee1f SHA1 391599f7d8229cbc7dddf09f4537ab14c301637a SHA256 1296c9023fb2787e0c8530b27ff565175725b406d5ec54b1898a9b5550bb848d
DIST tcc-0.9.23.tar.gz 423807 RMD160 c7b1cffa8b0b3e8dd828ffd249249f21efe1ee55 SHA1 4e7d1d00043b365da45ead8d66a9831567bcdeeb SHA256 074632c574116004c63b32798048c73c184d123d8cf96cce849765296b255991
EBUILD tcc-0.9.23-r1.ebuild 1523 RMD160 c41b6efa629f685ed54ef9fcf4cde864584fbeb0 SHA1 cf8a054bd39ace45987653f96d3e7dd5c5224f22 SHA256 60638606d6b03dbf31e90808dc628f2d7b4fd243e25f500e46324bb2f14099c6
MISC ChangeLog 4392 RMD160 15d8c60c611cae0c0f1fd17cfb2530ab22229003 SHA1 3128da7e7ed4dd4485955819a66e443ee7bce555 SHA256 1e7542c2351fbd2220f1ca7670877561d0f3fda7733bdc01cfba37d4757d3cce
MISC metadata.xml 162 RMD160 359e0d4ecc394cc3fb84227087c1a518d9e6c347 SHA1 d4c1c09bc042bd11d40dc634bf52edb93e4cf6f0 SHA256 444ece0c3cb4908c78c6588147078383d3636d1b3da9a20111ec03c5640eefdb

files

metadata.xml




lang-misc

tcc-0.9.23-r1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/tcc-0.9.23-r1.ebuild,v 1.4 2007/05/12 11:27:30 truedfx Exp $

inherit eutils

IUSE=""
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="LGPL-2.1"
SLOT="0"
KEYWORDS="-* x86"

DEPEND=""
# Both tendra and tinycc install /usr/bin/tcc
RDEPEND="!dev-lang/tendra"

# Testsuite is broken, relies on gcc to compile
# invalid C code that it no longer accepts
RESTRICT="test"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-anonunion.patch
epatch "${FILESDIR}"/${P}-asneeded.patch
epatch "${FILESDIR}"/${P}-nxbit.patch

# Don't strip
sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile

# Fix examples
sed -i -e '1{
i#! /usr/bin/tcc -run
/^#!/d
}' examples/ex*.c
sed -i -e '1s/$/ -lX11/' examples/ex4.c
}

src_install() {
#autoconf for the package does not create dirs if they are missing for some reason
dodir /usr/bin
dodir /usr/lib/tcc
dodir /usr/share/man/man1
dodir /usr/include
dodir /usr/share/doc/${PF}
make \
bindir="${D}"/usr/bin \
libdir="${D}"/usr/lib \
tccdir="${D}"/usr/lib/tcc \
includedir="${D}"/usr/include \
docdir="${D}"/usr/share/doc/${PF} \
mandir="${D}"/usr/share/man install || die
dodoc Changelog README TODO VERSION COPYING
dohtml tcc-doc.html
exeinto /usr/share/doc/${PF}/examples
doexe examples/ex*.c
}