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

modified amsn-0.98.9
author Hans-G?nter Theisgen
date Wed Feb 02 09:02:52 2022 +0100 (2022-02-02)
parents 5ea0ce1cecc0
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 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin
26 cp -a $src/samples/speech-recog-cli.pl $fs/usr/bin
27 ln -s speech-recog-cli.pl $fs/usr/bin/speech-recog
28 cp -a $src/speech-recog.agi $fs/var/lib/asterisk/agi-bin/
29 }