summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/i2c-tools/.mtn2git_empty0
-rw-r--r--packages/i2c-tools/i2c-tools_3.0.1.bb12
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/i2c-tools/.mtn2git_empty b/packages/i2c-tools/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/i2c-tools/.mtn2git_empty
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
+}