wok-next annotate asterisk-googletranslate/receipt @ rev 20526
Up mtpaint (3.49.13)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 17:51:29 2018 +0200 (2018-03-23) |
parents | ded7bc956f55 |
children | d5aab818505e |
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 |
al@19708 | 13 DEPENDS="asterisk perl-libwww-perl perl-json perl-io-socket-ssl" |
pascal@17359 | 14 |
pascal@17359 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17359 | 16 genpkg_rules() |
pascal@17359 | 17 { |
pascal@17359 | 18 mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin |
pascal@17359 | 19 cp -a $src/cli/googletranslate-cli.pl $fs/usr/bin |
pascal@17359 | 20 ln -s googletranslate-cli.pl $fs/usr/bin/googletranslate |
pascal@17359 | 21 cp -a $src/googletranslate.agi $fs/var/lib/asterisk/agi-bin/ |
pascal@17359 | 22 } |