wok diff xpat2/receipt @ rev 1553
Apply patchs once for bash cromfs cyrus-imapd jwm lsdvd mISDNuser module-init-tools qemu rox-filer xpat2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 12 09:55:00 2008 +0000 (2008-10-12) |
parents | e6114fcaafb8 |
children | 67356fcbb83e |
line diff
1.1 --- a/xpat2/receipt Thu Sep 25 08:02:56 2008 +0000 1.2 +++ b/xpat2/receipt Sun Oct 12 09:55:00 2008 +0000 1.3 @@ -15,11 +15,14 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - patch -p1 < ../stuff/xpat2.patch 1.8 - patch -p1 < ../stuff/layout.patch 1.9 + for i in xpat2.patch layout.patch ; do 1.10 + [ -f done.$i ] && continue 1.11 + patch -p1 < ../stuff/$i 1.12 + touch done.$i 1.13 + done 1.14 cd src 1.15 cp ../../stuff/Makefile . 1.16 - make 1.17 + make && 1.18 make DESTDIR=../_pkg install 1.19 } 1.20