diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb')
-rw-r--r-- | meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb b/meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb new file mode 100644 index 0000000000..14548a9635 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Set of i2c tools for linux - Python module" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://smbusmodule.c;startline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8" | ||
4 | |||
5 | SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \ | ||
6 | " | ||
7 | SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4" | ||
8 | SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629" | ||
9 | |||
10 | DEPENDS = "i2c-tools" | ||
11 | |||
12 | inherit distutils | ||
13 | |||
14 | S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/" | ||
15 | |||
16 | do_configure_prepend() { | ||
17 | # Adjust for OE header rename | ||
18 | sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: Module.mk | ||
19 | sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: smbusmodule.c | ||
20 | } | ||