wok-next view asterisk-sound-fr/receipt @ rev 20137
mariadb: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 21:42:04 2017 +0100 (2017-10-31) |
parents | a7b54d88ae54 |
children | d958fec46c9f |
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 }