wok-next diff tcc/receipt @ rev 1571
Up slitaz-tools (2.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 15 13:51:00 2008 +0000 (2008-10-15) |
parents | 32953ef3a7c7 |
children | cb3974d9da27 |
line diff
1.1 --- a/tcc/receipt Sun May 11 11:36:09 2008 +0000 1.2 +++ b/tcc/receipt Wed Oct 15 13:51:00 2008 +0000 1.3 @@ -13,10 +13,13 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - patch < ../stuff/Makefile.u || return 1 1.8 - ./configure --prefix=/usr $CONFIGURE_ARGS 1.9 - make 1.10 - make test 1.11 + if [ ! -f done.Makefile.u ]; then 1.12 + patch < ../stuff/Makefile.u || return 1 1.13 + touch done.Makefile.u 1.14 + fi 1.15 + ./configure --prefix=/usr $CONFIGURE_ARGS && 1.16 + make && 1.17 + make test && 1.18 make DESTDIR=$PWD/_pkg install 1.19 } 1.20