wok-current annotate 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
rev   line source
pascal@17357 1 # SliTaz package receipt.
pascal@17357 2
pascal@17357 3 PACKAGE="asterisk-googletts"
pascal@17357 4 VERSION="0.6"
pascal@17357 5 CATEGORY="misc"
pascal@17357 6 SHORT_DESC="Text to speech for asterisk using Google Translate"
pascal@17357 7 WEB_SITE="http://zaf.github.io/asterisk-googletts/"
pascal@17357 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17357 9 LICENSE="GPL2"
pascal@17357 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17357 11 WGET_URL="https://github.com/downloads/zaf/$PACKAGE/$TARBALL"
pascal@17357 12
pascal@17357 13 DEPENDS="asterisk perl sox mpg123"
pascal@17357 14 BUILD_DEPENDS="wget"
pascal@17357 15
pascal@24319 16 # What is the latest version available today?
pascal@24319 17 current_version()
pascal@24319 18 {
pascal@24319 19 wget -O - https://github.com/zaf/asterisk-googletts/tags 2>/dev/null | \
pascal@24319 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24319 21 }
pascal@24319 22
pascal@17357 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17357 24 genpkg_rules()
pascal@17357 25 {
pascal@17357 26 mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin
pascal@17357 27 cp -a $src/cli/googletts-cli.pl $fs/usr/bin
pascal@17357 28 ln -s googletts-cli.pl $fs/usr/bin/googletts
pascal@17357 29 cp -a $src/googletts.agi $fs/var/lib/asterisk/agi-bin/
pascal@17357 30 }