wok-6.x view tcc/receipt @ rev 15837
Up: fuse to 2.9.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 27 04:24:04 2014 +0000 (2014-01-27) |
parents | a436a235f098 |
children | 30509da0e83b |
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 LICENSE="LGPL2.1"
10 WEB_SITE="http://bellard.org/tcc/"
11 WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
12 TAGS="compiler C assembler"
13 HOST_ARCH="i486 arm"
15 DEPENDS="tcc-common"
16 BUILD_DEPENDS="perl texinfo"
18 # Perl is installed in a cross env.
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --enable-cross \
30 $CONFIGURE_ARGS &&
31 make && make test &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 cp -a $install/usr/bin/tcc $fs/usr/bin
40 }