wok-next annotate asterisk-sound-fr/receipt @ rev 21531

updated busybox (1.27.2 -> 1.31.1)
author Hans-G?nter Theisgen
date Sat Jun 20 17:14:40 2020 +0100 (2020-06-20)
parents d5aab818505e
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"
al@21020 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/"
al@21057 10 HOST_ARCH="any"
al@20882 11 REPOLOGY="asterisk-core-sounds"
al@20882 12
pascal@4117 13 TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz"
pascal@4117 14 WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
pascal@15201 15
al@21020 16 compile_rules() {
al@21020 17 if [ ! -d $install/var ]; then
pascal@10764 18 cd $src || return 1
pascal@4117 19 lang=${PACKAGE#asterisk-sound-}
al@21020 20 mkdir -p $install/var/lib/asterisk/sounds/$lang
al@21020 21 mv * $install/var/lib/asterisk/sounds/$lang
al@21020 22 cd $install/var/lib/asterisk/sounds/$lang
al@21020 23 for i in */; do
pascal@4117 24 mkdir ../$i
pascal@9045 25 ln -s ../$lang/$i ../$i$lang
pascal@4117 26 done
pascal@4117 27 fi
pascal@1187 28 }
pascal@1187 29
al@21020 30 genpkg_rules() {
al@14789 31 cp -a $install/* $fs
al@14789 32 chown -R root:root $fs
al@21020 33 DEPENDS="asterisk"
pascal@1187 34 }