libdrm: update to 2.4.102
authorRosen Penev <rosenp@gmail.com>
Wed, 2 Sep 2020 23:03:32 +0000 (16:03 -0700)
committerRosen Penev <rosenp@gmail.com>
Thu, 3 Sep 2020 21:06:08 +0000 (14:06 -0700)
Cleaned up Install sections for consistency between packages.

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

index 5e3e1947197faac709a981cd77f49c5270755bdb..9a76b3b53e02a51a6c56110477f091d8f2e8e277 100644 (file)
@@ -6,12 +6,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libdrm
-PKG_VERSION:=2.4.101
+PKG_VERSION:=2.4.102
 PKG_RELEASE:=1
 
-PKG_SOURCE_URL:=https://dri.freedesktop.org/libdrm
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_HASH:=ddf31baa8e49473624860bd166ce654dc349873f7a6c7b3305964249315c78a7
+PKG_SOURCE_URL:=https://dri.freedesktop.org/libdrm
+PKG_HASH:=8bcbf9336c28e393d76c1f16d7e79e394a7fce8a2e929d52d3ad7ad8525ba05b
 
 PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
 PKG_LICENSE:=BSD-3-Clause
@@ -57,26 +57,17 @@ MESON_ARGS += \
        -Dudev=false
 
 define Build/InstallDev
-       $(INSTALL_DIR) \
-         $(1)/usr/include \
-         $(1)/usr/lib
-
-       $(CP) \
-         $(PKG_INSTALL_DIR)/usr/include/* \
-         $(1)/usr/include/
-
-       $(CP) \
-         $(PKG_INSTALL_DIR)/usr/lib/{pkgconfig,*.so*} \
-         $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/include
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdrm.so* $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libdrm.pc $(1)/usr/lib/pkgconfig
 endef
 
 define Package/libdrm/install
-       $(INSTALL_DIR) \
-         $(1)/usr/lib
-
-       $(CP) \
-         $(PKG_INSTALL_DIR)/usr/lib/*.so* \
-         $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdrm.so.* $(1)/usr/lib/
 endef
 
 $(eval $(call BuildPackage,libdrm))