wok-6.x view ari-py/receipt @ rev 24957

*/stuff/bootloader.S: add CHK_DOS_INT19 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 23 15:41:59 2022 +0000 (2022-04-23)
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 }