wok-stable rev 9002
asterisk-sound: use $_pkg variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 15:43:41 2011 +0100 (2011-03-03) |
parents | 5e443c0fb4f2 |
children | 3e29056724a1 |
files | asterisk-sound-fr/receipt asterisk-sound/receipt |
line diff
1.1 --- a/asterisk-sound-fr/receipt Thu Mar 03 09:36:23 2011 +0000 1.2 +++ b/asterisk-sound-fr/receipt Thu Mar 03 15:43:41 2011 +0100 1.3 @@ -13,16 +13,16 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - if [ ! -d $src ]; then 1.8 + if [ ! -d $_pkg/var ]; then 1.9 lang=${PACKAGE#asterisk-sound-} 1.10 - mkdir -p $src/_pkg/var/lib/asterisk/sounds/$lang 1.11 + mkdir -p $_pkg/var/lib/asterisk/sounds/$lang 1.12 for i in *; do 1.13 case "$i" in 1.14 $PACKAGE-$VERSION|taz|receipt|process.log);; 1.15 - *) mv $i $src/_pkg/var/lib/asterisk/sounds/$lang;; 1.16 + *) mv $i $_pkg/var/lib/asterisk/sounds/$lang;; 1.17 esac 1.18 done 1.19 - cd $src/_pkg/var/lib/asterisk/sounds/$lang 1.20 + cd $_pkg/var/lib/asterisk/sounds/$lang 1.21 for i in */ ; do 1.22 mkdir ../$i 1.23 ln -s ../$lang/$i ../$i/$lang
2.1 --- a/asterisk-sound/receipt Thu Mar 03 09:36:23 2011 +0000 2.2 +++ b/asterisk-sound/receipt Thu Mar 03 15:43:41 2011 +0100 2.3 @@ -13,12 +13,12 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 - if [ ! -d $src ]; then 2.8 - mkdir -p $src/_pkg/var/lib/asterisk/sounds 2.9 + if [ ! -d $_pkg/var ]; then 2.10 + mkdir -p $_pkg/var/lib/asterisk/sounds 2.11 for i in *; do 2.12 case "$i" in 2.13 $PACKAGE-$VERSION|taz|receipt|process.log);; 2.14 - *) mv $i $src/_pkg/var/lib/asterisk/sounds;; 2.15 + *) mv $i $_pkg/var/lib/asterisk/sounds;; 2.16 esac 2.17 done 2.18 fi