gflags: Use CP instead of INSTALL_DATA 9189/head
authorRosen Penev <rosenp@gmail.com>
Fri, 7 Jun 2019 21:31:19 +0000 (14:31 -0700)
committerRosen Penev <rosenp@gmail.com>
Fri, 7 Jun 2019 21:31:19 +0000 (14:31 -0700)
INSTALL_DATA turns the symlinks into files, increasing the size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libgflags/Makefile

index dbaace61d8af0b39ee3317add59ce5b812e71c5d..28bd559b78813b4118d9a5c5595fd43046340f93 100644 (file)
@@ -2,12 +2,13 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gflags
 PKG_VERSION:=2.2.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/gflags/gflags/tar.gz/v$(PKG_VERSION)?
 PKG_HASH:=34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf
 
+PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=COPYING.txt
 
@@ -28,7 +29,6 @@ define Package/gflags
        TITLE:=C++ library that implements commandline flags processing
        DEPENDS:=+libstdcpp +libpthread
        URL:=https://github.com/gflags/gflags
-       MAINTAINER:=Amol Bhave <ambhave@fb.com>
 endef
 
 define Package/gflags/description
@@ -39,7 +39,7 @@ endef
 
 define Package/gflags/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libgflags.so* $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgflags.so* $(1)/usr/lib/
 endef
 
 $(eval $(call BuildPackage,gflags))