wok annotate ari-py/receipt @ rev 22535

created recipe for python-ply
author Hans-G?nter Theisgen
date Fri Jan 03 13:49:45 2020 +0100 (2020-01-03)
parents 645104ef06c0
children 5ea0ce1cecc0
rev   line source
pascal@19245 1 # SliTaz package receipt.
pascal@19245 2
pascal@19244 3 PACKAGE="ari-py"
pascal@19244 4 VERSION="0.1.3"
pascal@19244 5 CATEGORY="development"
pascal@19244 6 SHORT_DESC="Library for accessing the Asterisk REST Interface."
pascal@19244 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19244 8 LICENSE="BSD"
pascal@19244 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19244 10 WEB_SITE="https://github.com/asterisk/ari-py"
pascal@19244 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
pascal@19244 12
pascal@19244 13 DEPENDS="python"
pascal@19244 14 SUGGESTED="asterisk"
pascal@21580 15 BUILD_DEPENDS="python python-setuptools"
pascal@19244 16
pascal@19244 17 # Rules to configure and make the package.
pascal@19244 18 compile_rules()
pascal@19244 19 {
pascal@19244 20 python setup.py build &&
pascal@19244 21 python setup.py install --root=$DESTDIR
pascal@19244 22 }
pascal@19244 23
pascal@19244 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19244 25 genpkg_rules()
pascal@19244 26 {
pascal@19244 27 mkdir -p $fs
pascal@19244 28 cp -a $install/usr $fs
pascal@19244 29 }