wok-current annotate asterisk-speech-recog/receipt @ rev 19505
Rollback liboping (1.8.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Nov 19 09:14:20 2016 +0000 (2016-11-19) |
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 } |