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

updated hostapd (2.6 -> 2.7)
author Hans-G?nter Theisgen
date Fri Jan 11 16:39:21 2019 +0100 (8 months ago)
parents a7b54d88ae54
children
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 }