wok-next view tcc/receipt @ rev 4894
nano: --enable-utf8
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 07 18:41:46 2010 +0100 (2010-02-07) |
parents | fd4eda949f1e |
children | 866fa2493b1b |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcc"
4 VERSION="0.9.25"
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/$PACKAGE/"
10 WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 if [ ! -f done.Makefile.u ]; then
17 patch < ../stuff/Makefile.u || return 1
18 touch done.Makefile.u
19 fi
20 sed -i 's/cp -u/cp/' tests/Makefile
21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
22 make &&
23 make test &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $_pkg/usr/lib $fs
32 }