wok view asterisk-sound/receipt @ rev 24351

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 10:14:47 2022 +0000 (2022-02-03)
parents f4c22f009037
children 9af0e03b8ad0
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 [ ! -d $DESTDIR/var ] &&
20 mkdir -p $DESTDIR/var/lib/asterisk/sounds &&
21 mv * $DESTDIR/var/lib/asterisk/sounds
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/* $fs
28 chown -R root:root $fs
29 }