wok view tcc/receipt @ rev 4391
util-linux-ng-blkid: update depends.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Oct 15 20:56:02 2009 +0000 (2009-10-15) |
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 }