wok-current view asterisk-sound/receipt @ rev 25019
updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 07:22:38 2022 +0100 (2022-05-18) |
parents | 9af0e03b8ad0 |
children |
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="https://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 }