summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2003-10-14 19:42:30 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2003-10-14 19:42:30 +0000
commit5cc29e0f81c2ace99f50aa2ad94adc66942c141d (patch)
tree9068d77678a96a9a5a36028b1b9de46637f9febd /dev-lang/tcc
parentupdate to fix linking issues (diff)
downloadhistorical-5cc29e0f81c2ace99f50aa2ad94adc66942c141d.tar.gz
historical-5cc29e0f81c2ace99f50aa2ad94adc66942c141d.tar.bz2
historical-5cc29e0f81c2ace99f50aa2ad94adc66942c141d.zip
update to fix linking issues
Diffstat (limited to 'dev-lang/tcc')
-rw-r--r--dev-lang/tcc/Manifest5
-rw-r--r--dev-lang/tcc/files/digest-tcc-0.9.201
-rw-r--r--dev-lang/tcc/metadata.xml15
-rw-r--r--dev-lang/tcc/tcc-0.9.20.ebuild45
4 files changed, 64 insertions, 2 deletions
diff --git a/dev-lang/tcc/Manifest b/dev-lang/tcc/Manifest
index 9daad9956c32..573dffa4b0fe 100644
--- a/dev-lang/tcc/Manifest
+++ b/dev-lang/tcc/Manifest
@@ -1,10 +1,11 @@
MD5 3c26b71a064ba9f38e3e1e4b1d24ac91 tcc-0.9.14.ebuild 1131
-MD5 bd553bc98f6ffe90fc0fb9dbf6a24366 ChangeLog 1608
-MD5 67f69d257e8b6ceb4f9d51aaac80c148 tcc-0.9.20.ebuild 1174
+MD5 fdaeaff4b64ad565f15b1265bea2220d ChangeLog 1708
+MD5 bea0cd876d00fc8b5506a7d1a5880044 tcc-0.9.20.ebuild 1177
MD5 ac0436db2eb94eba6c2f715c8af95ca9 tcc-0.9.16.ebuild 1106
MD5 67f69d257e8b6ceb4f9d51aaac80c148 tcc-0.9.19.ebuild 1174
MD5 3a5295b593a34799d259380d1826e871 tcc-0.9.7.ebuild 723
MD5 96e3f0358d0ddc23586a70bd894316df tcc-0.9.8.ebuild 838
+MD5 f9cc7ff04156fed3f84368964fe98527 metadata.xml 471
MD5 d2230252f3e3cd1d63e2b08a02260473 files/digest-tcc-0.9.20 62
MD5 b0ccf61cace967dfb1500f80fda405e3 files/digest-tcc-0.9.14 62
MD5 d3d6782e1227fc15f94e306158b1fcb1 files/digest-tcc-0.9.16 62
diff --git a/dev-lang/tcc/files/digest-tcc-0.9.20 b/dev-lang/tcc/files/digest-tcc-0.9.20
new file mode 100644
index 000000000000..dac1f4b7a29d
--- /dev/null
+++ b/dev-lang/tcc/files/digest-tcc-0.9.20
@@ -0,0 +1 @@
+MD5 c883b88e874a9bb9163eb14dc43b178c tcc-0.9.20.tar.gz 199391
diff --git a/dev-lang/tcc/metadata.xml b/dev-lang/tcc/metadata.xml
new file mode 100644
index 000000000000..65ffeaed8a53
--- /dev/null
+++ b/dev-lang/tcc/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>george@gentoo.org</email>
+ <description> He's the one in the ChangeLog, giving this to him </description>
+</maintainer>
+
+<maintainer>
+ <email>spider@gentoo.org</email>
+ <name>Spider</name>
+ <description>Barged in and took this for now, I needed tcc to work</description>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-lang/tcc/tcc-0.9.20.ebuild b/dev-lang/tcc/tcc-0.9.20.ebuild
new file mode 100644
index 000000000000..b3976bc2fabd
--- /dev/null
+++ b/dev-lang/tcc/tcc-0.9.20.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 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.20.ebuild,v 1.1 2003/10/14 19:42:23 spider Exp $
+
+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 ~sparc"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+ econf || die "configure failed"
+ 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() {
+ #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
+ make prefix=${D}/usr \
+ bindir=${D}/usr/bin/ \
+ libdir=${D}/usr/lib/ \
+ includedir=${D}/usr/include/ \
+ mandir=${D}/usr/share/man/ install || die
+ dodoc Changelog README TODO VERSION COPYING
+ dohtml tcc-doc.html
+ mkdir ${D}/usr/share/doc/${PF}/examples
+ cp ex*.c ${D}/usr/share/doc/${PF}/examples/
+}