wok-next annotate asterisk-sound/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents d958fec46c9f
children d5aab818505e
rev   line source
al@21017 1 # SliTaz package receipt v2.
pascal@1187 2
pascal@1187 3 PACKAGE="asterisk-sound"
pascal@4117 4 VERSION="1.4.16"
pascal@1423 5 CATEGORY="misc"
al@21017 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/"
al@20882 10 REPOLOGY="asterisk-core-sounds"
al@20882 11
pascal@4117 12 TARBALL="asterisk-core-sounds-en-gsm-$VERSION.tar.gz"
pascal@4117 13 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
pascal@15201 14
pascal@1187 15 DEPENDS="asterisk"
pascal@1187 16
al@21017 17 compile_rules() {
pascal@10764 18 [ ! -d $DESTDIR/var ] &&
pascal@10764 19 cd $src &&
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
al@21017 24 genpkg_rules() {
al@14789 25 cp -a $install/* $fs
al@14789 26 chown -R root:root $fs
pascal@1187 27 }