wok-current annotate asterisk-googletranslate/receipt @ rev 22160
updated xerces and xerces-dev (3.1.1 -> 3.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 07 11:35:59 2019 +0100 (2019-11-07) |
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 } |