wok view asterisk-googletranslate/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents
children 7cfc423aaa00
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-libjson perl-io-socket-ssl"
14 BUILD_DEPENDS="wget"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin $fs/var/lib/asterisk/agi-bin
20 cp -a $src/cli/googletranslate-cli.pl $fs/usr/bin
21 ln -s googletranslate-cli.pl $fs/usr/bin/googletranslate
22 cp -a $src/googletranslate.agi $fs/var/lib/asterisk/agi-bin/
23 }