wok-current view asterisk-sound-fr/receipt @ rev 19690

Up apngasm (2.91)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 13 10:12:49 2017 +0100 (2017-02-13)
parents a7b54d88ae54
children 1ff9ee98b416
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 LICENSE="CCPL"
9 WEB_SITE="http://www.asterisk.org/"
10 TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz"
11 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
13 DEPENDS="asterisk"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 if [ ! -d $DESTDIR/var ]; then
19 cd $src || return 1
20 lang=${PACKAGE#asterisk-sound-}
21 mkdir -p $DESTDIR/var/lib/asterisk/sounds/$lang
22 mv * $DESTDIR/var/lib/asterisk/sounds/$lang
23 cd $DESTDIR/var/lib/asterisk/sounds/$lang
24 for i in */ ; do
25 mkdir ../$i
26 ln -s ../$lang/$i ../$i$lang
27 done
28 fi
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 chown -R root:root $fs
36 }