wok annotate asterisk-sound-fr/receipt @ rev 20645

updated hostapd (2.6 -> 2.7)
author Hans-G?nter Theisgen
date Fri Jan 11 16:39:21 2019 +0100 (9 months ago)
parents a7b54d88ae54
children
rev   line source
pascal@1187 1 # SliTaz package receipt.
pascal@1187 2
pascal@1187 3 PACKAGE="asterisk-sound-fr"
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 (fr)."
pascal@1187 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15201 8 LICENSE="CCPL"
pascal@4117 9 WEB_SITE="http://www.asterisk.org/"
pascal@4117 10 TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz"
pascal@4117 11 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
pascal@15201 12
pascal@4117 13 DEPENDS="asterisk"
pascal@1187 14
pascal@4117 15 # Rules to configure and make the package.
pascal@4117 16 compile_rules()
pascal@1187 17 {
pascal@9042 18 if [ ! -d $DESTDIR/var ]; then
pascal@10764 19 cd $src || return 1
pascal@4117 20 lang=${PACKAGE#asterisk-sound-}
pascal@9042 21 mkdir -p $DESTDIR/var/lib/asterisk/sounds/$lang
pascal@9042 22 mv * $DESTDIR/var/lib/asterisk/sounds/$lang
pascal@9045 23 cd $DESTDIR/var/lib/asterisk/sounds/$lang
pascal@4117 24 for i in */ ; do
pascal@4117 25 mkdir ../$i
pascal@9045 26 ln -s ../$lang/$i ../$i$lang
pascal@4117 27 done
pascal@4117 28 fi
pascal@1187 29 }
pascal@1187 30
pascal@1187 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1187 32 genpkg_rules()
pascal@1187 33 {
al@14789 34 cp -a $install/* $fs
al@14789 35 chown -R root:root $fs
pascal@1187 36 }