wok view asterisk-speech-recog/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents
children
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 }