wok-current diff asterisk-googletranslate/receipt @ rev 18987

Additional themes for Slitaz GNU/Linux.
author Leonardo Laporte <hackdorte@sapo.pt>
date Thu Mar 17 05:14:19 2016 -0300 (2016-03-17)
parents
children 7cfc423aaa00
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/asterisk-googletranslate/receipt	Thu Mar 17 05:14:19 2016 -0300
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="asterisk-googletranslate"
     1.7 +VERSION="0.2"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Text translation for Asterisk"
    1.10 +WEB_SITE="http://zaf.github.io/asterisk-googletranslate/"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="https://github.com/downloads/zaf/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="asterisk perl-libwww perl-libjson perl-io-socket-ssl"
    1.17 +BUILD_DEPENDS="wget"
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin
    1.23 +	cp -a $src/cli/googletranslate-cli.pl $fs/usr/bin
    1.24 +	ln -s googletranslate-cli.pl $fs/usr/bin/googletranslate
    1.25 +	cp -a $src/googletranslate.agi $fs/var/lib/asterisk/agi-bin/	
    1.26 +}