wok-current view tcc/receipt @ rev 14770
Up busybox (1.21.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 29 17:32:45 2013 +0200 (2013-06-29) |
parents | 26f00ffd5a27 |
children | a436a235f098 |
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 assembler"
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 }