wok-6.x view asterisk-speech-recog/receipt @ rev 18944

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