wok annotate python-paho-mqtt/receipt @ rev 23985
linld: up to 60k for header.com
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 28 09:45:01 2020 +0000 (2020-11-28) |
parents | 814362194a8d |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@20295 | 1 # SliTaz package receipt. |
pascal@20295 | 2 |
pascal@20295 | 3 PACKAGE="python-paho-mqtt" |
Hans-G?nter@23521 | 4 VERSION="1.5.0" |
pascal@20295 | 5 CATEGORY="development" |
Hans-G?nter@23521 | 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/" |
Hans-G?nter@23521 | 10 |
pascal@20295 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20295 | 12 WGET_URL="https://github.com/eclipse/paho.mqtt.python/archive/v$VERSION.tar.gz" |
pascal@20295 | 13 |
pascal@20295 | 14 DEPENDS="python" |
Hans-G?nter@23521 | 15 BUILD_DEPENDS="python 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 { |
Hans-G?nter@23521 | 26 cp -a $install/usr $fs |
pascal@20295 | 27 } |