wok annotate asterisk-speech-recog/receipt @ rev 20166

Up cryptsetup (2.0.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 10 17:53:07 2018 +0100 (2018-01-10)
parents
children 5ea0ce1cecc0
rev   line source
pascal@17358 1 # SliTaz package receipt.
pascal@17358 2
pascal@17358 3 PACKAGE="asterisk-speech-recog"
pascal@17358 4 VERSION="0.6-beta1"
pascal@17358 5 CATEGORY="misc"
pascal@17358 6 SHORT_DESC="Speech recognition for Asterisk"
pascal@17358 7 WEB_SITE="http://zaf.github.io/asterisk-speech-recog/"
pascal@17358 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17358 9 LICENSE="GPL2"
pascal@17358 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17358 11 WGET_URL="https://github.com/zaf/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@17358 12
pascal@17358 13 DEPENDS="asterisk perl-libwww perl-libjson perl-io-socket-ssl flac"
pascal@17358 14 BUILD_DEPENDS="wget"
pascal@17358 15
pascal@17358 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17358 17 genpkg_rules()
pascal@17358 18 {
pascal@17358 19 mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin
pascal@17358 20 cp -a $src/samples/speech-recog-cli.pl $fs/usr/bin
pascal@17358 21 ln -s speech-recog-cli.pl $fs/usr/bin/speech-recog
pascal@17358 22 cp -a $src/speech-recog.agi $fs/var/lib/asterisk/agi-bin/
pascal@17358 23 }