wok-next diff asterisk-sound/receipt @ rev 10572
awesome: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 23:46:34 2011 +0200 (2011-05-25) |
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 Wed May 25 23:46:34 2011 +0200 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