wok-current annotate python-pyajam/receipt @ rev 21582

Use python-setuptools as bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:45:04 2019 +0200 (2019-05-19)
parents aa358e4ebf18
children 89c8d8b6cf48
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@20295 17 # Rules to configure and make the package.
pascal@20295 18 compile_rules()
pascal@20295 19 {
pascal@20295 20 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@20295 21 }
pascal@20295 22
pascal@20295 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20295 24 genpkg_rules()
pascal@20295 25 {
pascal@20295 26 cp -a $install/usr $fs/
pascal@20295 27 }