wok view asterisk-sound/receipt @ rev 24609
updated gnu-efi (3.0.11 -> 3.0.14)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 07:12:36 2022 +0100 (2022-03-04) |
parents | 86601c251769 |
children | cb67b4f8be05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="asterisk-sound"
4 VERSION="1.6.1"
5 CATEGORY="misc"
6 SHORT_DESC="Open Source PBX and telephony toolkit sound files (en)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="CCPL"
9 WEB_SITE="http://www.asterisk.org/"
11 TARBALL="asterisk-core-sounds-en-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-en-gsm-/!d;/tar/!d;s|.*asterisk-core-sounds-en-gsm-\(.*\).tar.*".*|\1|' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 [ ! -d $DESTDIR/var ] &&
27 mkdir -p $DESTDIR/var/lib/asterisk/sounds &&
28 mv * $DESTDIR/var/lib/asterisk/sounds
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 }