wok-next view asterisk-googletranslate/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | ded7bc956f55 |
children | d5aab818505e |
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 WEB_SITE="http://zaf.github.io/asterisk-googletranslate/"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/downloads/zaf/$PACKAGE/$TARBALL"
13 DEPENDS="asterisk perl-libwww-perl perl-json perl-io-socket-ssl"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin
19 cp -a $src/cli/googletranslate-cli.pl $fs/usr/bin
20 ln -s googletranslate-cli.pl $fs/usr/bin/googletranslate
21 cp -a $src/googletranslate.agi $fs/var/lib/asterisk/agi-bin/
22 }