wok-current diff ari-py/receipt @ rev 19244
Add swagger-py & ari-py
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 15:10:47 2016 +0200 (2016-06-28) |
parents | |
children | 645104ef06c0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ari-py/receipt Tue Jun 28 15:10:47 2016 +0200 1.3 @@ -0,0 +1,27 @@ 1.4 +PACKAGE="ari-py" 1.5 +VERSION="0.1.3" 1.6 +CATEGORY="development" 1.7 +SHORT_DESC="Library for accessing the Asterisk REST Interface." 1.8 +MAINTAINER="pascal.bellard@slitaz.org" 1.9 +LICENSE="BSD" 1.10 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 +WEB_SITE="https://github.com/asterisk/ari-py" 1.12 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.13 + 1.14 +DEPENDS="python" 1.15 +SUGGESTED="asterisk" 1.16 +BUILD_DEPENDS="python" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + python setup.py build && 1.22 + python setup.py install --root=$DESTDIR 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs 1.29 + cp -a $install/usr $fs 1.30 +}