wok-4.x annotate asterisk-sound-fr/receipt @ rev 9035
Fixed gtk-engines-rezlooks.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 03 17:32:36 2011 +0000 (2011-03-03) |
parents | 6e3a46ecfae6 |
children | 7c923b0875c2 |
rev | line source |
---|---|
pascal@1187 | 1 # SliTaz package receipt. |
pascal@1187 | 2 |
pascal@1187 | 3 PACKAGE="asterisk-sound-fr" |
pascal@4117 | 4 VERSION="1.4.16" |
pascal@1423 | 5 CATEGORY="misc" |
pascal@1187 | 6 SHORT_DESC="Open Source PBX and telephony toolkit sound files (fr)." |
pascal@1187 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4117 | 8 WEB_SITE="http://www.asterisk.org/" |
pascal@4117 | 9 TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz" |
pascal@4117 | 10 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL" |
pascal@4117 | 11 DEPENDS="asterisk" |
pascal@1187 | 12 |
pascal@4117 | 13 # Rules to configure and make the package. |
pascal@4117 | 14 compile_rules() |
pascal@1187 | 15 { |
pascal@9002 | 16 if [ ! -d $_pkg/var ]; then |
pascal@4117 | 17 lang=${PACKAGE#asterisk-sound-} |
pascal@9002 | 18 mkdir -p $_pkg/var/lib/asterisk/sounds/$lang |
pascal@4117 | 19 for i in *; do |
pascal@4117 | 20 case "$i" in |
pascal@4117 | 21 $PACKAGE-$VERSION|taz|receipt|process.log);; |
pascal@9002 | 22 *) mv $i $_pkg/var/lib/asterisk/sounds/$lang;; |
pascal@4117 | 23 esac |
pascal@4117 | 24 done |
pascal@9002 | 25 cd $_pkg/var/lib/asterisk/sounds/$lang |
pascal@4117 | 26 for i in */ ; do |
pascal@4117 | 27 mkdir ../$i |
pascal@4117 | 28 ln -s ../$lang/$i ../$i/$lang |
pascal@4117 | 29 done |
pascal@4117 | 30 fi |
pascal@1187 | 31 } |
pascal@1187 | 32 |
pascal@1187 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1187 | 34 genpkg_rules() |
pascal@1187 | 35 { |
pascal@4117 | 36 cp -a $_pkg/* $fs |
pascal@1187 | 37 } |