wok-next diff w3m/receipt @ rev 15013
Up nscd (2.14.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 13:54:55 2013 +0000 (2013-08-11) |
parents | 2b1b306b8dde |
children | 23c3aed67cd9 |
line diff
1.1 --- a/w3m/receipt Thu Mar 14 05:13:26 2013 +0000 1.2 +++ b/w3m/receipt Sun Aug 11 13:54:55 2013 +0000 1.3 @@ -15,7 +15,16 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - ./configure $CONFIGURE_ARGS && make && make install 1.8 + cd $src 1.9 + for i in $stuff/*.patch 1.10 + do 1.11 + if [ -f done.$(basename $i) ]; then 1.12 + continue 1.13 + else 1.14 + patch -p0 < $i && touch done.$(basename $i) || return 1 1.15 + fi 1.16 + done 1.17 + ./configure $CONFIGURE_ARGS && make && make install 1.18 } 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg.