wok-next view asterisk-googletranslate/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d43bf7aae921 |
children | 0cbe4b1f2230 |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/downloads/zaf/$PACKAGE/$TARBALL"
14 genpkg_rules() {
15 mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin
16 cp -a $src/cli/googletranslate-cli.pl $fs/usr/bin
17 ln -s googletranslate-cli.pl $fs/usr/bin/googletranslate
18 cp -a $src/googletranslate.agi $fs/var/lib/asterisk/agi-bin/
19 DEPENDS="asterisk perl-libwww-perl perl-json perl-io-socket-ssl"
20 }