wok-current annotate 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 |
rev | line source |
---|---|
pascal@19244 | 1 PACKAGE="ari-py" |
pascal@19244 | 2 VERSION="0.1.3" |
pascal@19244 | 3 CATEGORY="development" |
pascal@19244 | 4 SHORT_DESC="Library for accessing the Asterisk REST Interface." |
pascal@19244 | 5 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19244 | 6 LICENSE="BSD" |
pascal@19244 | 7 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19244 | 8 WEB_SITE="https://github.com/asterisk/ari-py" |
pascal@19244 | 9 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@19244 | 10 |
pascal@19244 | 11 DEPENDS="python" |
pascal@19244 | 12 SUGGESTED="asterisk" |
pascal@19244 | 13 BUILD_DEPENDS="python" |
pascal@19244 | 14 |
pascal@19244 | 15 # Rules to configure and make the package. |
pascal@19244 | 16 compile_rules() |
pascal@19244 | 17 { |
pascal@19244 | 18 python setup.py build && |
pascal@19244 | 19 python setup.py install --root=$DESTDIR |
pascal@19244 | 20 } |
pascal@19244 | 21 |
pascal@19244 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19244 | 23 genpkg_rules() |
pascal@19244 | 24 { |
pascal@19244 | 25 mkdir -p $fs |
pascal@19244 | 26 cp -a $install/usr $fs |
pascal@19244 | 27 } |