From: Deng Qingfang Date: Wed, 12 Jun 2019 16:51:18 +0000 (+0800) Subject: lm-sensors: install libsensors using CP instead of INSTALL_DATA X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=3417ee01220e7ce2190845a6d8b5f16311b93258;p=openwrt-packages.git lm-sensors: install libsensors using CP instead of INSTALL_DATA INSTALL_DATA turns all of the symlinks to files, increasing size. Signed-off-by: Deng Qingfang --- diff --git a/utils/lm-sensors/Makefile b/utils/lm-sensors/Makefile index b75c7892a..a9567b8dd 100644 --- a/utils/lm-sensors/Makefile +++ b/utils/lm-sensors/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lm-sensors PKG_VERSION:=3.5.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_VERSION_SUBST=$(subst .,-,$(PKG_VERSION)) PKG_SOURCE_URL:=https://codeload.github.com/lm-sensors/lm-sensors/tar.gz/V$(PKG_VERSION_SUBST)? @@ -119,7 +119,7 @@ endef define Package/libsensors/install $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_DATA) $(PKG_BUILD_DIR)/lib/libsensors.so* $(1)/usr/lib + $(CP) $(PKG_BUILD_DIR)/lib/libsensors.so* $(1)/usr/lib endef $(eval $(call BuildPackage,lm-sensors))