wok-6.x view ari-py/receipt @ rev 25053
Up advancecomp (2.3), foomatic-db (4.0-20220223), sagan-rules (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 05 19:53:43 2022 +0000 (2022-06-05) |
parents | 240fb3120638 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ari-py"
4 VERSION="0.1.3"
5 CATEGORY="development"
6 SHORT_DESC="Library for accessing the Asterisk REST Interface."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/asterisk/ari-py"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 DEPENDS="python"
14 SUGGESTED="asterisk"
15 BUILD_DEPENDS="python python-setuptools"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py build &&
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs
34 cp -a $install/usr $fs
35 }