1 # Packager : Dwight Schauer <dschauer@gmail.com>
6 pkgdesc="Tiny C Compiler -- shared library version of libtcc."
9 url="http://bellard.org/tcc/"
11 provides=("${pkgname}=${pkgver}")
12 source=(http://download.savannah.nongnu.org/releases/tinycc/${_pkgname}-${pkgver}.tar.bz2)
15 cd ${srcdir}/${_pkgname}-${pkgver}
17 ./configure --prefix=/usr
19 make CFLAGS="-fPIC" libtcc.o || return 1
20 ld -shared -soname libtcc.so -o libtcc.so libtcc.o || return 1
21 install -D -m 755 libtcc.so ${pkgdir}/usr/lib/libtcc.so
24 md5sums=('991c2a1986cce15f03ca6ddc86ea5f43')