wok-6.x view asterisk-sound-fr/receipt @ rev 24616
updated gpgme and gpgme-dev (1.13.1 -> 1.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 08:02:36 2022 +0100 (2022-03-07) |
parents | 1ff9ee98b416 |
children | cb67b4f8be05 |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed '/asterisk-core-sounds-fr-gsm-/!d;/tar/!d;s|.*asterisk-core-sounds-fr-gsm-\(.*\).tar.*".*|\1|' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 if [ ! -d $DESTDIR/var ]; then
27 cd $src || return 1
28 lang=${PACKAGE#asterisk-sound-}
29 mkdir -p $DESTDIR/var/lib/asterisk/sounds/$lang
30 mv * $DESTDIR/var/lib/asterisk/sounds/$lang
31 cd $DESTDIR/var/lib/asterisk/sounds/$lang
32 for i in */
33 do
34 mkdir ../$i
35 ln -s ../$lang/$i ../$i$lang
36 done
37 fi
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
44 chown -R root:root $fs
45 }