wok-current diff netatalk/receipt @ 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 f8d110a2f0e2
children 1b95154d11db
line diff
     1.1 --- a/netatalk/receipt	Wed Aug 13 09:43:42 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