summaryrefslogtreecommitdiff
path: root/packages/i2c-tools/i2c-tools_3.0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/i2c-tools/i2c-tools_3.0.1.bb')
-rw-r--r--packages/i2c-tools/i2c-tools_3.0.1.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/i2c-tools/i2c-tools_3.0.1.bb b/packages/i2c-tools/i2c-tools_3.0.1.bb
new file mode 100644
index 0000000000..c8ea32a5f1
--- /dev/null
+++ b/packages/i2c-tools/i2c-tools_3.0.1.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "Set of i2c tools for linux"
+SECTION = "base"
+LICENSE = "GPL"
+
+SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2"
+
+inherit autotools
+
+do_compile_prepend() {
+ sed -i 's_/usr/local_/usr_' Makefile
+ sed -i 's_CC\t:= gcc_CC\t:= ${CC}_' Makefile
+}