wok annotate tcc/receipt @ rev 1020
wpa_supplicant: use
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 09 12:49:30 2008 +0000 (2008-07-09) |
parents | |
children | fd4eda949f1e |
rev | line source |
---|---|
pascal@769 | 1 # SliTaz package receipt. |
pascal@769 | 2 |
pascal@769 | 3 PACKAGE="tcc" |
pascal@769 | 4 VERSION="0.9.24" |
pascal@769 | 5 CATEGORY="development" |
pascal@769 | 6 SHORT_DESC="fast Tiny C Compiler." |
pascal@769 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@769 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@769 | 9 WEB_SITE="http://bellard.org/$PACKAGE/" |
pascal@769 | 10 WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL" |
pascal@769 | 11 |
pascal@769 | 12 # Rules to configure and make the package. |
pascal@769 | 13 compile_rules() |
pascal@769 | 14 { |
pascal@769 | 15 cd $src |
pascal@769 | 16 patch < ../stuff/Makefile.u || return 1 |
pascal@769 | 17 ./configure --prefix=/usr $CONFIGURE_ARGS |
pascal@769 | 18 make |
pascal@769 | 19 make test |
pascal@769 | 20 make DESTDIR=$PWD/_pkg install |
pascal@769 | 21 } |
pascal@769 | 22 |
pascal@769 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@769 | 24 genpkg_rules() |
pascal@769 | 25 { |
pascal@769 | 26 mkdir -p $fs/usr |
pascal@769 | 27 cp -a $_pkg/usr/bin $_pkg/usr/lib $fs |
pascal@769 | 28 } |
pascal@769 | 29 |