wok-current rev 6052

libproxy: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 17 14:28:38 2010 +0200 (2010-08-17)
parents 7040bf60917f
children af7ae092c941
files libproxy/receipt
line diff
     1.1 --- a/libproxy/receipt	Tue Aug 17 14:22:23 2010 +0200
     1.2 +++ b/libproxy/receipt	Tue Aug 17 14:28:38 2010 +0200
     1.3 @@ -16,9 +16,10 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	./autogen.sh --prefix=/usr
     1.8 -	sed -i 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' CMakeCache.txt
     1.9 -	./autogen.sh --prefix=/usr &&
    1.10 +	./autogen.sh
    1.11 +	sed -i -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \
    1.12 +	       -e 's|/usr/local|/usr|' CMakeCache.txt
    1.13 +	./autogen.sh &&
    1.14  	make &&
    1.15  	make DESTDIR=$PWD/_pkg install
    1.16  }