wok-current view asterisk-speech-recog/receipt @ rev 24269

updated perl-xml-rss (1.61 -> 1.62)
author Hans-G?nter Theisgen
date Sun Jan 02 10:37:59 2022 +0100 (2022-01-02)
parents 6d1d3b3a1af1
children ac8ca9758df1
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*}/releases 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 }