wok-next view python-smbus/receipt @ rev 21726

updated firefox-official (77.0 -> 81.0)
author Hans-G?nter Theisgen
date Sun Sep 27 14:34:31 2020 +0100 (2020-09-27)
parents 7506b35e1c6f
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-smbus"
4 VERSION="3.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="SMBus access through the I2C /dev interface (from i2c-tools)"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/about/"
10 REPOLOGY="i2c-tools"
12 TARBALL="i2c-tools-$VERSION.tar.bz2"
13 WGET_URL="http://dl.lm-sensors.org/i2c-tools/releases/$TARBALL"
15 BUILD_DEPENDS="python-dev"
17 compile_rules() {
18 make EXTRA=py-smbus || return 1
20 cd py-smbus
21 python -B setup.py install --root=$install
22 }
24 genpkg_rules() {
25 copy @std
26 DEPENDS="python"
27 TAGS="python"
28 }