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

Up cookutils (1146)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 28 07:53:22 2020 +0000 (2020-07-28)
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 }