wok-next annotate python-rpi.gpio/receipt @ rev 21208
asterisk: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 10:21:51 2019 +0100 (2019-12-02) |
parents | c9a7a7b42a86 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
al@20972 | 2 |
al@20972 | 3 ORIGIN="RPi.GPIO" |
al@20972 | 4 PACKAGE="python-rpi.gpio" |
al@20972 | 5 VERSION="0.6.3" |
al@20972 | 6 CATEGORY="system-tools" |
al@20972 | 7 SHORT_DESC="A module to control Raspberry Pi GPIO channels" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
al@20972 | 9 LICENSE="BSD" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 #HOST_ARCH |
al@20972 | 12 REPOLOGY="python:rpi-gpio" |
al@20972 | 13 |
al@20972 | 14 BUILD_DEPENDS="python-dev python3-dev" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
al@20972 | 16 |
al@20972 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
al@20972 | 19 } |
al@20972 | 20 |
al@20972 | 21 genpkg_rules() { |
al@20972 | 22 copy @std |
al@20972 | 23 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 24 DEPENDS="$py" |
al@20972 | 25 TAGS="raspberrypi rpi" |
al@20972 | 26 } |