diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-01-04 21:03:25 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-01-04 21:03:25 +0000 |
commit | fad83b211bc7092e456bdd49f3801a7fbb5e7feb (patch) | |
tree | 0c3727c01c1964238751810638c661d6b15f908d /dev-lang/tcc | |
parent | Homepage fix (diff) | |
download | gentoo-2-fad83b211bc7092e456bdd49f3801a7fbb5e7feb.tar.gz gentoo-2-fad83b211bc7092e456bdd49f3801a7fbb5e7feb.tar.bz2 gentoo-2-fad83b211bc7092e456bdd49f3801a7fbb5e7feb.zip |
Bump to 0.9.24. Homepage and SRC_URI fix. Patches no longer needed.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'dev-lang/tcc')
-rw-r--r-- | dev-lang/tcc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/tcc/tcc-0.9.23-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/tcc/tcc-0.9.24.ebuild | 60 |
3 files changed, 69 insertions, 3 deletions
diff --git a/dev-lang/tcc/ChangeLog b/dev-lang/tcc/ChangeLog index f32e478aac4e..da3bada4f5fc 100644 --- a/dev-lang/tcc/ChangeLog +++ b/dev-lang/tcc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/tcc # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/ChangeLog,v 1.27 2009/01/04 20:52:31 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/ChangeLog,v 1.28 2009/01/04 21:03:25 patrick Exp $ + +*tcc-0.9.24 (04 Jan 2009) + + 04 Jan 2009; Patrick Lauer <patrick@gentoo.org> tcc-0.9.23-r1.ebuild, + +tcc-0.9.24.ebuild: + Bump to 0.9.24. Homepage and SRC_URI fix. Patches no longer needed. 04 Jan 2009; Patrick Lauer <patrick@gentoo.org> tcc-0.9.23-r1.ebuild: Homepage fix diff --git a/dev-lang/tcc/tcc-0.9.23-r1.ebuild b/dev-lang/tcc/tcc-0.9.23-r1.ebuild index 100e67061793..bee701a9ca4e 100644 --- a/dev-lang/tcc/tcc-0.9.23-r1.ebuild +++ b/dev-lang/tcc/tcc-0.9.23-r1.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2009 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.5 2009/01/04 20:52:31 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/tcc-0.9.23-r1.ebuild,v 1.6 2009/01/04 21:03:25 patrick Exp $ inherit eutils IUSE="" DESCRIPTION="A very small C compiler for ix86" HOMEPAGE="http://bellard.org/tcc/" -SRC_URI="http://fabrice.bellard.free.fr/tcc/${P}.tar.gz" +SRC_URI="http://download.savannah.nongnu.org/releases/tinycc/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" diff --git a/dev-lang/tcc/tcc-0.9.24.ebuild b/dev-lang/tcc/tcc-0.9.24.ebuild new file mode 100644 index 000000000000..c382f60fcd20 --- /dev/null +++ b/dev-lang/tcc/tcc-0.9.24.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/tcc-0.9.24.ebuild,v 1.1 2009/01/04 21:03:25 patrick Exp $ + +inherit eutils + +IUSE="" +DESCRIPTION="A very small C compiler for ix86" +HOMEPAGE="http://bellard.org/tcc/" +SRC_URI="http://download.savannah.nongnu.org/releases/tinycc/${P}.tar.bz2" + +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}"/${PN}-0.9.23-anonunion.patch + #epatch "${FILESDIR}"/${PN}-0.9.23-asneeded.patch + #epatch "${FILESDIR}"/${PN}-0.9.23-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 +} |