wok-stable view asterisk-sound/receipt @ rev 11915

squid: improve package (again)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 01 00:00:54 2012 +0100 (2012-03-01)
parents 6142040da281
children
line source
1 # SliTaz package receipt.
3 PACKAGE="asterisk-sound"
4 VERSION="1.4.16"
5 CATEGORY="misc"
6 SHORT_DESC="Open Source PBX and telephony toolkit sound files (en)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.asterisk.org/"
9 TARBALL="asterisk-core-sounds-en-gsm-$VERSION.tar.gz"
10 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
11 DEPENDS="asterisk"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 [ ! -d $DESTDIR/var ] &&
17 cd $src &&
18 mkdir -p $DESTDIR/var/lib/asterisk/sounds &&
19 mv * $DESTDIR/var/lib/asterisk/sounds
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $_pkg/* $fs
26 }