wok-next view python-smbus/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
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 }