wok view asterisk-sound-fr/receipt @ rev 24143

Add ventoy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 16 17:16:48 2021 +0000 (2021-11-16)
parents f4c22f009037
children 9af0e03b8ad0
line source
1 # SliTaz package receipt.
3 PACKAGE="asterisk-sound-fr"
4 VERSION="1.6.1"
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/"
11 TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz"
12 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
14 DEPENDS="asterisk"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 if [ ! -d $DESTDIR/var ]; then
20 cd $src || return 1
21 lang=${PACKAGE#asterisk-sound-}
22 mkdir -p $DESTDIR/var/lib/asterisk/sounds/$lang
23 mv * $DESTDIR/var/lib/asterisk/sounds/$lang
24 cd $DESTDIR/var/lib/asterisk/sounds/$lang
25 for i in */
26 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 $install/* $fs
37 chown -R root:root $fs
38 }