wok-current view python-pyajam/receipt @ rev 24776

jack1: added build dependency gcc83
author Hans-G?nter Theisgen
date Sat Mar 19 17:48:51 2022 +0100 (2022-03-19)
parents 89c8d8b6cf48
children 9aa1f88b45db
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyajam"
4 GITHASH="7df98e46bd1c2be024299b572e4ccfeab1b916be"
5 VERSION="${GITHASH:0:7}"
6 CATEGORY="development"
7 SHORT_DESC="Pythonic interface of Asterisk AJAM protocol"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://github.com/litnimax/PyAjam"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://raw.githubusercontent.com/litnimax/PyAjam/master/CHANGES 2>/dev/null | \
21 sed '/^[0-9]/!d;s| .*||' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --prefix=/usr --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs/
34 }