wok-next annotate python-smbus/receipt @ rev 21264

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