wok-6.x annotate asterisk-sound/receipt @ rev 23248
updated nnn (2.9 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 11:33:56 2020 +0100 (2020-03-25) |
parents | f4c22f009037 |
children | 9af0e03b8ad0 |
rev | line source |
---|---|
pascal@1187 | 1 # SliTaz package receipt. |
pascal@1187 | 2 |
pascal@1187 | 3 PACKAGE="asterisk-sound" |
Hans-G?nter@22505 | 4 VERSION="1.6.1" |
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@15201 | 8 LICENSE="CCPL" |
pascal@4117 | 9 WEB_SITE="http://www.asterisk.org/" |
Hans-G?nter@22505 | 10 |
pascal@4117 | 11 TARBALL="asterisk-core-sounds-en-gsm-$VERSION.tar.gz" |
pascal@4117 | 12 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL" |
pascal@15201 | 13 |
pascal@1187 | 14 DEPENDS="asterisk" |
pascal@1187 | 15 |
pascal@4117 | 16 # Rules to configure and make the package. |
pascal@4117 | 17 compile_rules() |
pascal@1187 | 18 { |
pascal@10764 | 19 [ ! -d $DESTDIR/var ] && |
pascal@10764 | 20 mkdir -p $DESTDIR/var/lib/asterisk/sounds && |
pascal@10767 | 21 mv * $DESTDIR/var/lib/asterisk/sounds |
pascal@1187 | 22 } |
pascal@1187 | 23 |
pascal@1187 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1187 | 25 genpkg_rules() |
pascal@1187 | 26 { |
al@14789 | 27 cp -a $install/* $fs |
al@14789 | 28 chown -R root:root $fs |
pascal@1187 | 29 } |