wok-6.x view tcc/receipt @ rev 14781

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 13:51:55 2013 +0200 (2013-07-05)
parents 87ed2f0de883
children 76b72f1ad63c
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="LGPL"
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 }