wok view asterisk-googletts/receipt @ rev 18863

get-texlive: fix creating package texlive
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 28 22:27:33 2016 +0200 (2016-01-28)
parents
children 7cfc423aaa00
line source
1 # SliTaz package receipt.
3 PACKAGE="asterisk-googletts"
4 VERSION="0.6"
5 CATEGORY="misc"
6 SHORT_DESC="Text to speech for asterisk using Google Translate"
7 WEB_SITE="http://zaf.github.io/asterisk-googletts/"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/downloads/zaf/$PACKAGE/$TARBALL"
13 DEPENDS="asterisk perl sox mpg123"
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/cli/googletts-cli.pl $fs/usr/bin
21 ln -s googletts-cli.pl $fs/usr/bin/googletts
22 cp -a $src/googletts.agi $fs/var/lib/asterisk/agi-bin/
23 }