wok-current annotate tcc/receipt @ rev 4973
add/improve TAGS t* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Feb 24 12:13:18 2010 +0000 (2010-02-24) |
parents | cb3974d9da27 |
children | 2f9a90706449 |
rev | line source |
---|---|
pascal@769 | 1 # SliTaz package receipt. |
pascal@769 | 2 |
pascal@769 | 3 PACKAGE="tcc" |
pascal@4253 | 4 VERSION="0.9.25" |
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" |
jozee@4973 | 11 TAGS="compiler C" |
pascal@769 | 12 |
pascal@769 | 13 # Rules to configure and make the package. |
pascal@769 | 14 compile_rules() |
pascal@769 | 15 { |
pascal@769 | 16 cd $src |
pascal@1454 | 17 if [ ! -f done.Makefile.u ]; then |
pascal@1454 | 18 patch < ../stuff/Makefile.u || return 1 |
pascal@1454 | 19 touch done.Makefile.u |
pascal@1454 | 20 fi |
pascal@4253 | 21 sed -i 's/cp -u/cp/' tests/Makefile |
pascal@1454 | 22 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@1454 | 23 make && |
pascal@1454 | 24 make test && |
pascal@769 | 25 make DESTDIR=$PWD/_pkg install |
pascal@769 | 26 } |
pascal@769 | 27 |
pascal@769 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@769 | 29 genpkg_rules() |
pascal@769 | 30 { |
pascal@769 | 31 mkdir -p $fs/usr |
pascal@769 | 32 cp -a $_pkg/usr/bin $_pkg/usr/lib $fs |
pascal@769 | 33 } |
pascal@769 | 34 |