wok view asterisk-sound-fr/receipt @ rev 4849
xorg-xf86-input-evtouch: ev_calibrate
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 31 22:16:23 2010 +0100 (2010-01-31) |
parents | 37bb75372dba |
children | 920b2fe2e541 |
line source
1 # SliTaz package receipt.
3 PACKAGE="asterisk-sound-fr"
4 VERSION="1.4.16"
5 CATEGORY="misc"
6 SHORT_DESC="Open Source PBX and telephony toolkit sound files (fr)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.asterisk.org/"
9 TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz"
10 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
11 DEPENDS="asterisk"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 if [ ! -d $src ]; then
17 lang=${PACKAGE#asterisk-sound-}
18 mkdir -p $src/_pkg/var/lib/asterisk/sounds/$lang
19 for i in *; do
20 case "$i" in
21 $PACKAGE-$VERSION|taz|receipt|process.log);;
22 *) mv $i $src/_pkg/var/lib/asterisk/sounds/$lang;;
23 esac
24 done
25 cd $src/_pkg/var/lib/asterisk/sounds/$lang
26 for i in */ ; do
27 mkdir ../$i
28 ln -s ../$lang/$i ../$i/$lang
29 done
30 fi
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $_pkg/* $fs
37 }