wok view asterisk-googletts/receipt @ rev 24808

updated libmtp, libmtp-dev and mtp-tools (1.1.17 -> 1.1.19)
author Hans-G?nter Theisgen
date Tue Mar 22 16:29:00 2022 +0100 (2022-03-22)
parents 2c77a0b060c6
children d66160614dc4
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/zaf/asterisk-googletts/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin
27 cp -a $src/cli/googletts-cli.pl $fs/usr/bin
28 ln -s googletts-cli.pl $fs/usr/bin/googletts
29 cp -a $src/googletts.agi $fs/var/lib/asterisk/agi-bin/
30 }