wok-6.x annotate asterisk-speech-recog/receipt @ rev 22774

Add serf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 25 17:25:42 2020 +0100 (2020-01-25)
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 }