wok-next view asterisk-sound/receipt @ rev 4859

alpine: fix depends
author Paul Issott <paul@slitaz.org>
date Tue Feb 02 22:44:31 2010 +0000 (2010-02-02)
parents 03a799424aaa
children 920b2fe2e541
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 if [ ! -d $src ]; then
17 mkdir -p $src/_pkg/var/lib/asterisk/sounds
18 for i in *; do
19 case "$i" in
20 $PACKAGE-$VERSION|taz|receipt|process.log);;
21 *) mv $i $src/_pkg/var/lib/asterisk/sounds;;
22 esac
23 done
24 fi
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/* $fs
31 }