wok-next view asterisk-sound-fr/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | d5aab818505e |
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 HOST_ARCH="any"
11 REPOLOGY="asterisk-core-sounds"
13 TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz"
14 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
16 compile_rules() {
17 if [ ! -d $install/var ]; then
18 cd $src || return 1
19 lang=${PACKAGE#asterisk-sound-}
20 mkdir -p $install/var/lib/asterisk/sounds/$lang
21 mv * $install/var/lib/asterisk/sounds/$lang
22 cd $install/var/lib/asterisk/sounds/$lang
23 for i in */; do
24 mkdir ../$i
25 ln -s ../$lang/$i ../$i$lang
26 done
27 fi
28 }
30 genpkg_rules() {
31 cp -a $install/* $fs
32 chown -R root:root $fs
33 DEPENDS="asterisk"
34 }