wok view python-asterisk/receipt @ rev 24298

updated taglib and taglib-dev (1.11.1 -> 1.12)
author Hans-G?nter Theisgen
date Sat Jan 15 15:21:20 2022 +0100 (2022-01-15)
parents 8dd8bab3f0ca
children 076f424196b2
line source
1 # SliTaz package receipt.
3 PACKAGE="python-asterisk"
4 SOURCE="py-Asterisk"
5 VERSION="0.5.1"
6 CATEGORY="development"
7 SHORT_DESC="Python bindings for the Asterisk Manager API."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.org/project/$SOURCE/"
12 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/, version /!d;s|.*version ||;s|<.*||'
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 }