wok rev 17358
Add asterisk-speech-recog
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 18 21:43:05 2014 +0100 (2014-11-18) |
parents | 2c77a0b060c6 |
children | 9135b6cf33bb |
files | asterisk-speech-recog/receipt perl-libjson/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/asterisk-speech-recog/receipt Tue Nov 18 21:43:05 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="asterisk-speech-recog" 1.7 +VERSION="0.6-beta1" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Speech recognition for Asterisk" 1.10 +WEB_SITE="http://zaf.github.io/asterisk-speech-recog/" 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="GPL2" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/zaf/$PACKAGE/archive/v$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="asterisk perl-libwww perl-libjson perl-io-socket-ssl flac" 1.17 +BUILD_DEPENDS="wget" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin 1.23 + cp -a $src/samples/speech-recog-cli.pl $fs/usr/bin 1.24 + ln -s speech-recog-cli.pl $fs/usr/bin/speech-recog 1.25 + cp -a $src/speech-recog.agi $fs/var/lib/asterisk/agi-bin/ 1.26 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/perl-libjson/receipt Tue Nov 18 21:43:05 2014 +0100 2.3 @@ -0,0 +1,27 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="perl-libjson" 2.7 +SOURCE="JSON" 2.8 +VERSION="2.90" 2.9 +CATEGORY="development" 2.10 +SHORT_DESC="JSON (JavaScript Object Notation) encoder/decoder" 2.11 +MAINTAINER="pascal.bellard@slitaz.org" 2.12 +LICENSE="GPL" 2.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.14 +WEB_SITE="https://metacpan.org/release/JSON" 2.15 +WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + perl Makefile.PL && 2.21 + make && 2.22 + make DESTDIR=$DESTDIR install 2.23 +} 2.24 + 2.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.26 +genpkg_rules() 2.27 +{ 2.28 + mkdir -p $fs/usr 2.29 + cp -a $install/usr/lib $fs/usr 2.30 +}