lm-sensors: use codeload and add ABI_VERSION
authorDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
Sun, 20 Jan 2019 08:32:10 +0000 (16:32 +0800)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 20 Jan 2019 18:42:31 +0000 (20:42 +0200)
Use codeload URL suggested by neheb
Add ABI_VERSION:=5 to libsensors

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
Bump PKG_RELEASE just in case.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
utils/lm-sensors/Makefile

index 291576223f1ee297eb040d8ffedf9e86d598511f..28cedf060e3aae914c6b326e49af1fd9ea552042 100644 (file)
@@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lm-sensors
 PKG_VERSION:=3.5.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_VERSION_SUBST=$(subst .,-,$(PKG_VERSION))
-PKG_SOURCE_URL:=https://github.com/lm-sensors/lm-sensors/archive/V$(PKG_VERSION_SUBST)/lm-sensors
+PKG_SOURCE_URL:=https://codeload.github.com/lm-sensors/lm-sensors/tar.gz/V$(PKG_VERSION_SUBST)?
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_HASH:=f671c1d63a4cd8581b3a4a775fd7864a740b15ad046fe92038bcff5c5134d7e0
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION_SUBST)
@@ -50,6 +50,7 @@ define Package/libsensors
   SECTION:=libs
   CATEGORY:=Libraries
   TITLE:=libsensors
+  ABI_VERSION:=5
 endef
 
 define Package/lm-sensors/description