From d027d641a84fa2933622695adac6f285b63fd229 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 2 Sep 2020 16:03:32 -0700 Subject: [PATCH] libdrm: update to 2.4.102 Cleaned up Install sections for consistency between packages. Signed-off-by: Rosen Penev --- libs/libdrm/Makefile | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/libs/libdrm/Makefile b/libs/libdrm/Makefile index 5e3e19471..9a76b3b53 100644 --- a/libs/libdrm/Makefile +++ b/libs/libdrm/Makefile @@ -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 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))