wok annotate python-pyst2/receipt @ rev 21874
facter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:31:06 2019 +0200 (2019-09-28) |
parents | 47760196a868 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@20292 | 1 # SliTaz package receipt. |
pascal@20292 | 2 |
pascal@20292 | 3 PACKAGE="python-pyst2" |
pascal@20292 | 4 VERSION="0.5.0" |
pascal@20292 | 5 CATEGORY="development" |
pascal@20292 | 6 SHORT_DESC="A Python Interface to Asterisk" |
pascal@20292 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20292 | 8 LICENSE="LGPL" |
pascal@20292 | 9 WEB_SITE="https://pypi.org/project/pyst2/" |
pascal@20292 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20292 | 11 WGET_URL="https://github.com/rdegges/pyst2/archive/$VERSION.tar.gz" |
pascal@20292 | 12 |
pascal@20292 | 13 DEPENDS="python" |
pascal@21582 | 14 BUILD_DEPENDS="python-setuptools" |
pascal@20292 | 15 |
pascal@20292 | 16 # Rules to configure and make the package. |
pascal@20292 | 17 compile_rules() |
pascal@20292 | 18 { |
pascal@20292 | 19 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@20292 | 20 } |
pascal@20292 | 21 |
pascal@20292 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20292 | 23 genpkg_rules() |
pascal@20292 | 24 { |
pascal@20292 | 25 cp -a $install/usr $fs/ |
pascal@20292 | 26 } |