wok-next rev 14207
w3m: config receipt to use patches
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Mar 15 13:42:03 2013 +0000 (2013-03-15) |
parents | 65f9b9b388d7 |
children | 382cc0c84e92 |
files | w3m/receipt |
line diff
1.1 --- a/w3m/receipt Fri Mar 15 13:21:47 2013 +0000 1.2 +++ b/w3m/receipt Fri Mar 15 13:42:03 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.