summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/i2c-tools/Makefile6
-rw-r--r--package/i2c-tools/patches/patch-Makefile23
2 files changed, 8 insertions, 21 deletions
diff --git a/package/i2c-tools/Makefile b/package/i2c-tools/Makefile
index 9fad55eff..eb6358f66 100644
--- a/package/i2c-tools/Makefile
+++ b/package/i2c-tools/Makefile
@@ -4,10 +4,10 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= i2c-tools
-PKG_VERSION:= 3.0.2
+PKG_VERSION:= 3.1.1
PKG_RELEASE:= 1
-PKG_MD5SUM:= b546345ac19db56719dea6b8199f11e0
-PKG_DESCR:= I2C tools for Linux
+PKG_MD5SUM:= 0fdbff53ebd0b8d9249256d6c56480b1
+PKG_DESCR:= I2C tools
PKG_SECTION:= misc
PKG_URL:= http://www.lm-sensors.org/wiki/I2CTools
PKG_SITES:= http://dl.lm-sensors.org/i2c-tools/releases/
diff --git a/package/i2c-tools/patches/patch-Makefile b/package/i2c-tools/patches/patch-Makefile
index 6997b4de1..b61b99ac0 100644
--- a/package/i2c-tools/patches/patch-Makefile
+++ b/package/i2c-tools/patches/patch-Makefile
@@ -1,24 +1,11 @@
---- i2c-tools-3.0.2.orig/Makefile 2007-11-01 18:54:57.000000000 +0100
-+++ i2c-tools-3.0.2/Makefile 2010-07-13 21:44:41.807074577 +0200
-@@ -4,8 +4,8 @@
- #
- # Licensed under the GNU General Public License.
+--- i2c-tools-3.1.1.orig/Makefile 2014-02-19 15:02:21.606454000 +0100
++++ i2c-tools-3.1.1/Makefile 2014-04-28 15:01:09.301182922 +0200
+@@ -8,7 +8,7 @@
+ # (at your option) any later version.
--DESTDIR =
+ DESTDIR =
-prefix = /usr/local
-+DESTDIR ?=
+prefix = /usr
bindir = $(prefix)/bin
sbindir = $(prefix)/sbin
mandir = $(prefix)/share/man
-@@ -18,8 +18,8 @@ INSTALL_DIR := $(INSTALL) -m 755 -d
- INSTALL_PROGRAM := $(INSTALL) -m 755
- RM := rm -f
-
--CC := gcc
--CFLAGS := -Wall
-+CC ?= gcc
-+CFLAGS ?= -Wall
-
- CFLAGS += -O2
- # When debugging, use the following instead