summaryrefslogtreecommitdiff
path: root/community/tcc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/tcc
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/tcc')
-rw-r--r--community/tcc/ChangeLog3
-rw-r--r--community/tcc/PKGBUILD50
2 files changed, 0 insertions, 53 deletions
diff --git a/community/tcc/ChangeLog b/community/tcc/ChangeLog
deleted file mode 100644
index 460adba69..000000000
--- a/community/tcc/ChangeLog
+++ /dev/null
@@ -1,3 +0,0 @@
-0.9.25-2:
-
- + Added libtcc.so as well, for dynamic code.
diff --git a/community/tcc/PKGBUILD b/community/tcc/PKGBUILD
deleted file mode 100644
index ebb5f21b3..000000000
--- a/community/tcc/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 86525 2013-03-18 16:24:05Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer : Gergely Imreh <imrehgATgmailDOTcom>
-# Contributor : dschauer <dschauerATgmailDOTcom>
-# Contributor : Stefan Husmann <stefan-husmann@t-online.de>
-# Contributor : Jeremy Cowgar <jeremy@cowgar.com>
-
-pkgname=tcc
-pkgver=0.9.26
-pkgrel=1
-pkgdesc="Tiny C Compiler"
-arch=('i686' 'x86_64')
-url="http://bellard.org/tcc/"
-license=('LGPL')
-makedepends=('gcc')
-options=('docs')
-source=(http://download.savannah.nongnu.org/releases/tinycc/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('5fb28e4abc830c46a7f54c1f637fb25d')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- # sed fixes from Gentoo ebuild, cheers!
- # 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
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make tccdir=${pkgdir}/usr/lib/tcc libdir=${pkgdir}/usr/lib \
- mandir=${pkgdir}/usr/share/man bindir=${pkgdir}/usr/bin \
- includedir=${pkgdir}/usr/include \
- docdir=${pkgdir}/usr/share/doc/tcc \
- install
-
- make clean
- make CFLAGS="-fPIC" libtcc.o
- ld -shared -soname libtcc.so -o libtcc.so libtcc.o
- install -D -m 755 libtcc.so "${pkgdir}/usr/lib/libtcc.so"
-}