wok-6.x view asterisk-sound-fr/receipt @ rev 9179
Up: freeciv to 2.2.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 08 20:38:59 2011 +0000 (2011-03-08) |
parents | 7c923b0875c2 |
children | 6142040da281 |
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 $DESTDIR/var ]; then
17 cd $src
18 lang=${PACKAGE#asterisk-sound-}
19 mkdir -p $DESTDIR/var/lib/asterisk/sounds/$lang
20 mv * $DESTDIR/var/lib/asterisk/sounds/$lang
21 cd $DESTDIR/var/lib/asterisk/sounds/$lang
22 for i in */ ; do
23 mkdir ../$i
24 ln -s ../$lang/$i ../$i$lang
25 done
26 fi
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $_pkg/* $fs
33 }