wok view asterisk-googletts/receipt @ rev 18707

fix some post_install status
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 16 15:49:50 2015 +0100 (2015-12-16)
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 }