wok-6.x annotate asterisk-sound/receipt @ rev 6085
Up: powertop (1.13)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Aug 29 11:47:26 2010 +0200 (2010-08-29) |
parents | 03a799424aaa |
children | 920b2fe2e541 |
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@4117 | 16 if [ ! -d $src ]; then |
pascal@4117 | 17 mkdir -p $src/_pkg/var/lib/asterisk/sounds |
pascal@4117 | 18 for i in *; do |
pascal@4117 | 19 case "$i" in |
pascal@4117 | 20 $PACKAGE-$VERSION|taz|receipt|process.log);; |
pascal@4117 | 21 *) mv $i $src/_pkg/var/lib/asterisk/sounds;; |
pascal@4117 | 22 esac |
pascal@4117 | 23 done |
pascal@4117 | 24 fi |
pascal@1187 | 25 } |
pascal@1187 | 26 |
pascal@1187 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1187 | 28 genpkg_rules() |
pascal@1187 | 29 { |
pascal@4117 | 30 cp -a $_pkg/* $fs |
pascal@1187 | 31 } |