wok-next view python-asterisk/receipt @ rev 20837

lua: add SHA1sum
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Jun 17 19:28:49 2018 +0000 (2018-06-17)
parents 8cad5edc1a45
children 4e6503d7a19f
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-asterisk"
4 VERSION="latest"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the Asterisk Manager API"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.python.org/pypi/py-Asterisk"
11 BUILD_DEPENDS="python"
13 compile_rules() {
14 pip install --no-compile --root=$DESTDIR py-Asterisk
15 }
17 genpkg_rules() {
18 VERSION=$(sed -n '/^Successfully installed/ s|.*py-Asterisk-||p' $LOGS/$PACKAGE.log)
19 copy @std
20 DEPENDS="python"
21 }