wok-current view tcc/receipt @ rev 14708

econnman: back to 1.7.0
author Dominique Corbex <domcox@slitaz.org>
date Sat Jun 08 20:42:10 2013 +0200 (2013-06-08)
parents 012b01cf2c1d
children 87ed2f0de883
line source
1 # SliTaz package receipt.
3 PACKAGE="tcc"
4 VERSION="0.9.26"
5 CATEGORY="development"
6 SHORT_DESC="Fast Tiny C Compiler."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://bellard.org/tcc/"
10 WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
11 TAGS="compiler C"
12 HOST_ARCH="i486 arm"
14 DEPENDS="tcc-common"
15 BUILD_DEPENDS="perl texinfo"
17 # Perl is installed in a cross env.
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --prefix=/usr \
28 --enable-cross \
29 $CONFIGURE_ARGS &&
30 make && make test &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $install/usr/bin/tcc $fs/usr/bin
39 }