wok-next view asterisk-googletranslate/receipt @ rev 21527
updated bootchart (0.9 -> 1.20)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 15:06:45 2020 +0100 (2020-06-19) |
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 }