wok-4.x view tcc/receipt @ rev 2911
Up:kino; improve receipt; built shared ffmpeg; small size
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed May 06 13:16:04 2009 +0000 (2009-05-06) |
parents | 32953ef3a7c7 |
children | cb3974d9da27 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcc"
4 VERSION="0.9.24"
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 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make test &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $_pkg/usr/lib $fs
31 }