wok-next diff lsdvd/receipt @ rev 3659

Hack coreutils compile
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 07 20:54:42 2009 +0200 (2009-07-07)
parents a075ff895254
children 02bbaa9d12ba
line diff
     1.1 --- a/lsdvd/receipt	Tue May 13 09:50:02 2008 +0200
     1.2 +++ b/lsdvd/receipt	Tue Jul 07 20:54:42 2009 +0200
     1.3 @@ -16,9 +16,11 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	patch -p1 -i ../stuff/lsdvd-0.16-configure.patch
     1.8 -	./configure --prefix=/usr $CONFIGURE_ARGS
     1.9 -	make
    1.10 +	[ -f done.lsdvd-0.16-configure.patch ] ||
    1.11 +		patch -p1 -i ../stuff/lsdvd-0.16-configure.patch
    1.12 +	touch done.lsdvd-0.16-configure.patch
    1.13 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.14 +	make &&
    1.15  	make DESTDIR=$PWD/_pkg install
    1.16  }
    1.17