wok-6.x view asterisk-sound/receipt @ rev 8539
Fix: wxWidgets to install contrib files into same DESTDIR now. This will save 600mb since we will not need the source folder anymore to genpkg files.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 13 04:28:50 2011 +0000 (2011-02-13) |
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 }