wok-stable annotate asterisk-sound/receipt @ rev 9607

Up slitaz-mercurial-style (1.1.2) to have updated likns to bugs tracker (Thank Claudinei)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 14 20:53:17 2011 +0200 (2011-04-14)
parents 920b2fe2e541
children 6142040da281
rev   line source
pascal@1187 1 # SliTaz package receipt.
pascal@1187 2
pascal@1187 3 PACKAGE="asterisk-sound"
pascal@4117 4 VERSION="1.4.16"
pascal@1423 5 CATEGORY="misc"
pascal@1187 6 SHORT_DESC="Open Source PBX and telephony toolkit sound files (en)."
pascal@1187 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4117 8 WEB_SITE="http://www.asterisk.org/"
pascal@4117 9 TARBALL="asterisk-core-sounds-en-gsm-$VERSION.tar.gz"
pascal@4117 10 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
pascal@1187 11 DEPENDS="asterisk"
pascal@1187 12
pascal@4117 13 # Rules to configure and make the package.
pascal@4117 14 compile_rules()
pascal@1187 15 {
pascal@9042 16 if [ ! -d $DESTDIR/var ]; then
pascal@9042 17 cd $src
pascal@9042 18 mkdir -p $DESTDIR/var/lib/asterisk/sounds
pascal@9042 19 mv * $DESTDIR/var/lib/asterisk/sounds
pascal@4117 20 fi
pascal@1187 21 }
pascal@1187 22
pascal@1187 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1187 24 genpkg_rules()
pascal@1187 25 {
pascal@4117 26 cp -a $_pkg/* $fs
pascal@1187 27 }