wok-6.x annotate python-paho-mqtt/receipt @ rev 22798
Add xsane-locales (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 10:39:45 2020 +0100 (2020-01-27) |
parents | aa358e4ebf18 |
children | 2b4abb958dd8 |
rev | line source |
---|---|
pascal@20295 | 1 # SliTaz package receipt. |
pascal@20295 | 2 |
pascal@20295 | 3 PACKAGE="python-paho-mqtt" |
pascal@20295 | 4 VERSION="1.3.1" |
pascal@20295 | 5 CATEGORY="development" |
pascal@20295 | 6 SHORT_DESC="Eclipse Paho MQTT Python client library" |
pascal@20295 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20295 | 8 LICENSE="epl-v10 edl-v10" |
pascal@20295 | 9 WEB_SITE="https://pypi.org/project/paho-mqtt/" |
pascal@20295 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20295 | 11 WGET_URL="https://github.com/eclipse/paho.mqtt.python/archive/v$VERSION.tar.gz" |
pascal@20295 | 12 |
pascal@20295 | 13 DEPENDS="python" |
pascal@21582 | 14 BUILD_DEPENDS="python-setuptools" |
pascal@20295 | 15 |
pascal@20295 | 16 # Rules to configure and make the package. |
pascal@20295 | 17 compile_rules() |
pascal@20295 | 18 { |
pascal@20295 | 19 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@20295 | 20 } |
pascal@20295 | 21 |
pascal@20295 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20295 | 23 genpkg_rules() |
pascal@20295 | 24 { |
pascal@20295 | 25 cp -a $install/usr $fs/ |
pascal@20295 | 26 } |