wok-current view asterisk-googletts/receipt @ rev 24830

busybox-1.31.1: inserted CONFIG_FEATURE_SYSLOG_INFO=y in config and config-ssfs
author Hans-G?nter Theisgen
date Thu Mar 24 06:49:50 2022 +0100 (2022-03-24)
parents 2c77a0b060c6
children
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 }