wok-next rev 13028

asterisk: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 11 21:38:18 2012 +0200 (2012-06-11)
parents d71ba04aa9f5
children 71fdf2bac4d0
files asterisk/receipt
line diff
     1.1 --- a/asterisk/receipt	Mon Jun 11 18:48:18 2012 +0200
     1.2 +++ b/asterisk/receipt	Mon Jun 11 21:38:18 2012 +0200
     1.3 @@ -46,11 +46,11 @@
     1.4  		--with-dahdi=$WOK/dahdi/$(ls $WOK/dahdi/taz) \
     1.5  		--with-tonezone \
     1.6  		$CONFIGURE_ARGS &&
     1.7 -	make $MAKEFLAGS &&
     1.8 -	make DESTDIR=$PWD/_pkg install &&
     1.9 -	make DESTDIR=$PWD/_pkg samples &&
    1.10 +	make &&
    1.11 +	make DESTDIR=$DESTDIR install &&
    1.12 +	make DESTDIR=$DESTDIR samples &&
    1.13  	cd contrib/utils &&
    1.14 -	gcc rawplayer.c -o $src/_pkg/usr/bin/rawplayer
    1.15 +	gcc rawplayer.c -o $DESTDIR/usr/bin/rawplayer
    1.16  }
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.