wok diff asterisk-sound/receipt @ rev 9239

strigi: fix BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 12 16:08:57 2011 +0100 (2011-03-12)
parents 920b2fe2e541
children 6142040da281
line diff
     1.1 --- a/asterisk-sound/receipt	Thu Mar 03 15:43:41 2011 +0100
     1.2 +++ b/asterisk-sound/receipt	Sat Mar 12 16:08:57 2011 +0100
     1.3 @@ -13,14 +13,10 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	if [ ! -d $_pkg/var ]; then
     1.8 -		mkdir -p $_pkg/var/lib/asterisk/sounds
     1.9 -		for i in *; do
    1.10 -			case "$i" in
    1.11 -			$PACKAGE-$VERSION|taz|receipt|process.log);;
    1.12 -			*) mv $i $_pkg/var/lib/asterisk/sounds;;
    1.13 -			esac
    1.14 -		done
    1.15 +	if [ ! -d $DESTDIR/var ]; then
    1.16 +		cd $src
    1.17 +		mkdir -p $DESTDIR/var/lib/asterisk/sounds
    1.18 +		mv * $DESTDIR/var/lib/asterisk/sounds
    1.19  	fi
    1.20  }
    1.21