wok-6.x annotate asterisk-googletranslate/receipt @ rev 21593
updated audacity (2.0.6 -> 2.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 21 13:55:18 2019 +0100 (2019-05-21) |
parents | |
children | 7cfc423aaa00 |
rev | line source |
---|---|
pascal@17359 | 1 # SliTaz package receipt. |
pascal@17359 | 2 |
pascal@17359 | 3 PACKAGE="asterisk-googletranslate" |
pascal@17359 | 4 VERSION="0.2" |
pascal@17359 | 5 CATEGORY="misc" |
pascal@17359 | 6 SHORT_DESC="Text translation for Asterisk" |
pascal@17359 | 7 WEB_SITE="http://zaf.github.io/asterisk-googletranslate/" |
pascal@17359 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17359 | 9 LICENSE="GPL2" |
pascal@17359 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17359 | 11 WGET_URL="https://github.com/downloads/zaf/$PACKAGE/$TARBALL" |
pascal@17359 | 12 |
pascal@17359 | 13 DEPENDS="asterisk perl-libwww perl-libjson perl-io-socket-ssl" |
pascal@17359 | 14 BUILD_DEPENDS="wget" |
pascal@17359 | 15 |
pascal@17359 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17359 | 17 genpkg_rules() |
pascal@17359 | 18 { |
pascal@17359 | 19 mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin |
pascal@17359 | 20 cp -a $src/cli/googletranslate-cli.pl $fs/usr/bin |
pascal@17359 | 21 ln -s googletranslate-cli.pl $fs/usr/bin/googletranslate |
pascal@17359 | 22 cp -a $src/googletranslate.agi $fs/var/lib/asterisk/agi-bin/ |
pascal@17359 | 23 } |