wok-next annotate asterisk-speech-recog/receipt @ rev 17987
slitaz-base-files: up (267), fix HTTP POST form bug.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 22 11:58:12 2015 +0300 (2015-04-22) |
parents | |
children | ded7bc956f55 |
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 } |