wok-next view python-smbus/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
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 }