wok-next rev 1469

lxpanel: apply patch once
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 11:57:29 2008 +0000 (2008-10-04)
parents 7ffdeac14518
children 14320228765e
files lxpanel/receipt
line diff
     1.1 --- a/lxpanel/receipt	Sat Oct 04 11:54:45 2008 +0000
     1.2 +++ b/lxpanel/receipt	Sat Oct 04 11:57:29 2008 +0000
     1.3 @@ -16,13 +16,16 @@
     1.4  {
     1.5  	cd $src
     1.6  	# Patch the menu
     1.7 -	patch -p0 < ../stuff/ptk-app-menu.patch  || exit 1
     1.8 -	patch -p0 < ../stuff/fr.patch || exit 1
     1.9 +	for i in ptk-app-menu.patch fr.patch ; do
    1.10 +		[ -f done.$i ] && continue
    1.11 +		patch -p0 < ../stuff/$i || exit 1
    1.12 +		touch done.$i
    1.13 +	done
    1.14  	./configure \
    1.15  		--prefix=/usr \
    1.16  		--with-plugins=all \
    1.17 -		$CONFIGURE_ARGS
    1.18 -	make
    1.19 +		$CONFIGURE_ARGS &&
    1.20 +	make &&
    1.21  	make DESTDIR=$PWD/_pkg install
    1.22  }
    1.23