i2c-tools: add with version 3.0.1. Closes 4260.
authorLukas Gorris <lukas.gorris@gmx.de>
Wed, 14 May 2008 17:14:14 +0000 (17:14 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Wed, 14 May 2008 17:14:14 +0000 (17:14 +0000)
* commit from Laibsch

packages/i2c-tools/.mtn2git_empty [new file with mode: 0644]
packages/i2c-tools/i2c-tools_3.0.1.bb [new file with mode: 0644]

diff --git a/packages/i2c-tools/.mtn2git_empty b/packages/i2c-tools/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
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 (file)
index 0000000..c8ea32a
--- /dev/null
@@ -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
+}