wok-next view asterisk-sound-fr/receipt @ rev 20997

Update netsurf, use combined sources, separated packages no more required
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 04 19:53:01 2018 +0300 (2018-10-04)
parents f4c22f009037
children d5aab818505e
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 REPOLOGY="asterisk-core-sounds"
12 TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz"
13 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
15 DEPENDS="asterisk"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 if [ ! -d $DESTDIR/var ]; then
21 cd $src || return 1
22 lang=${PACKAGE#asterisk-sound-}
23 mkdir -p $DESTDIR/var/lib/asterisk/sounds/$lang
24 mv * $DESTDIR/var/lib/asterisk/sounds/$lang
25 cd $DESTDIR/var/lib/asterisk/sounds/$lang
26 for i in */ ; 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 }