wok-6.x diff w3m/receipt @ rev 14926
enna: add old default type for edc files.
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 07 13:00:15 2013 +0000 (2013-08-07) |
parents | 2b1b306b8dde |
children | 23c3aed67cd9 |
line diff
1.1 --- a/w3m/receipt Thu Mar 14 05:13:26 2013 +0000 1.2 +++ b/w3m/receipt Wed Aug 07 13:00:15 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.