wok-current annotate 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 |
rev | line source |
---|---|
pascal@20295 | 1 # SliTaz package receipt. |
pascal@20295 | 2 |
pascal@20295 | 3 PACKAGE="python-pyajam" |
pascal@20295 | 4 GITHASH="7df98e46bd1c2be024299b572e4ccfeab1b916be" |
pascal@20295 | 5 VERSION="${GITHASH:0:7}" |
pascal@20295 | 6 CATEGORY="development" |
pascal@20295 | 7 SHORT_DESC="Pythonic interface of Asterisk AJAM protocol" |
pascal@20295 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20295 | 9 LICENSE="GPL3" |
pascal@20295 | 10 WEB_SITE="https://github.com/litnimax/PyAjam" |
pascal@20295 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@20295 | 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" |
pascal@20295 | 13 |
pascal@20295 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="python-setuptools" |
pascal@20295 | 16 |
pascal@24476 | 17 # What is the latest version available today? |
pascal@24476 | 18 current_version() |
pascal@24476 | 19 { |
pascal@24699 | 20 wget -O - https://raw.githubusercontent.com/litnimax/PyAjam/master/CHANGES 2>/dev/null | \ |
pascal@24699 | 21 sed '/^[0-9]/!d;s| .*||' | sort -Vr | sed q |
pascal@24476 | 22 } |
pascal@24476 | 23 |
pascal@20295 | 24 # Rules to configure and make the package. |
pascal@20295 | 25 compile_rules() |
pascal@20295 | 26 { |
pascal@20295 | 27 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@20295 | 28 } |
pascal@20295 | 29 |
pascal@20295 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20295 | 31 genpkg_rules() |
pascal@20295 | 32 { |
pascal@20295 | 33 cp -a $install/usr $fs/ |
pascal@20295 | 34 } |