wok-next view asterisk-googletranslate/receipt @ rev 21602
updated dstat (0.7.3 -> 0.7.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 15:19:05 2020 +0100 (2020-06-24) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="asterisk-googletranslate"
4 VERSION="0.2"
5 CATEGORY="misc"
6 SHORT_DESC="Text translation for Asterisk"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://zaf.github.io/asterisk-googletranslate/"
10 HOST_ARCH="any"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/downloads/zaf/$PACKAGE/$TARBALL"
15 genpkg_rules() {
16 mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin
17 cp -a $src/cli/googletranslate-cli.pl $fs/usr/bin
18 ln -s googletranslate-cli.pl $fs/usr/bin/googletranslate
19 cp -a $src/googletranslate.agi $fs/var/lib/asterisk/agi-bin/
20 DEPENDS="asterisk perl-libwww-perl perl-json perl-io-socket-ssl"
21 }