i2c-tools: fix stale PKG_SOURCE_URL
authorYousong Zhou <yszhou4tech@gmail.com>
Thu, 5 Jul 2018 09:05:31 +0000 (17:05 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 5 Jul 2018 09:06:01 +0000 (17:06 +0800)
Fixes openwrt/packages#5075

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
utils/i2c-tools/Makefile

index 88dd6b3f6aeecdcd85075f83c1d68300ace37937..bd2dc39c7558f2ef0aded52c0f73d686e71c143f 100644 (file)
@@ -11,11 +11,9 @@ PKG_NAME:=i2c-tools
 PKG_VERSION:=3.1.2
 PKG_RELEASE:=1
 
-PKG_SOURCE_URL:=http://dl.lm-sensors.org/i2c-tools/releases/ \
-                http://fossies.org/linux/misc/
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_HASH:=db5e69f2e2a6e3aa2ecdfe6a5f490b149c504468770f58921c8c5b8a7860a441
+PKG_SOURCE_URL:=@KERNEL/software/utils/i2c-tools
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_HASH:=6d6079153cd49a62d4addacef4c092db1a46ba60b2807070a3fbe050262aef87
 
 PKG_BUILD_PARALLEL:=1
 PKG_BUILD_DEPENDS:=PACKAGE_python-smbus:python