wok-next rev 1466

netatalk: apply patch once
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 09:46:54 2008 +0000 (2008-10-04)
parents c1ff74d9b6f4
children a809286e4301
files netatalk/receipt
line diff
     1.1 --- a/netatalk/receipt	Sat Oct 04 09:01:05 2008 +0000
     1.2 +++ b/netatalk/receipt	Sat Oct 04 09:46:54 2008 +0000
     1.3 @@ -16,10 +16,12 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	patch -p1  < ../stuff/netatalk-2.0.3-newer-db.patch
     1.8 +	[ -d done.netatalk-2.0.3-newer-db.patch ] || \
     1.9 +		patch -p1  < ../stuff/netatalk-2.0.3-newer-db.patch
    1.10 +	touch done.netatalk-2.0.3-newer-db.patch
    1.11  	./configure --prefix=/usr --sysconfdir=/etc \
    1.12 -	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.13 -	make
    1.14 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.15 +	make &&
    1.16  	make DESTDIR=$PWD/_pkg install
    1.17  }
    1.18