wok-stable annotate tcc/receipt @ rev 4735
Up: leafpad (0.8.17)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 07 12:04:22 2010 +0100 (2010-01-07) |
parents | fd4eda949f1e |
children | 866fa2493b1b |
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" |
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@1454 | 16 if [ ! -f done.Makefile.u ]; then |
pascal@1454 | 17 patch < ../stuff/Makefile.u || return 1 |
pascal@1454 | 18 touch done.Makefile.u |
pascal@1454 | 19 fi |
pascal@4253 | 20 sed -i 's/cp -u/cp/' tests/Makefile |
pascal@1454 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@1454 | 22 make && |
pascal@1454 | 23 make test && |
pascal@769 | 24 make DESTDIR=$PWD/_pkg install |
pascal@769 | 25 } |
pascal@769 | 26 |
pascal@769 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@769 | 28 genpkg_rules() |
pascal@769 | 29 { |
pascal@769 | 30 mkdir -p $fs/usr |
pascal@769 | 31 cp -a $_pkg/usr/bin $_pkg/usr/lib $fs |
pascal@769 | 32 } |
pascal@769 | 33 |