pkgconf: update to 0.7.3
authorRosen Penev <rosenp@gmail.com>
Mon, 1 Jun 2020 01:29:19 +0000 (18:29 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 2 Jun 2020 20:32:14 +0000 (13:32 -0700)
Switched to building with meson. Faster.

Add missing InstallDev section.

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

index b2ec3990fee6559488bd000956d63b525ac32206..e4ea386661bb235f0196cddaa48c1ac217f28b4f 100644 (file)
@@ -6,21 +6,22 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pkgconf
-PKG_VERSION:=1.6.3
+PKG_VERSION:=1.7.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://distfiles.dereferenced.org/pkgconf
-PKG_HASH:=61f0b31b0d5ea0e862b454a80c170f57bad47879c0c42bd8de89200ff62ea210
+PKG_HASH:=b846aea51cf696c3392a0ae58bef93e2e72f8e7073ca6ad1ed8b01c85871f9c0
 
 PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=COPYING
 
 PKG_INSTALL:=1
-PKG_BUILD_PARALLEL:=1
+PKG_BUILD_DEPENDS:=meson/host
 
 include $(INCLUDE_DIR)/package.mk
+include ../../devel/meson/meson.mk
 
 define Package/libpkgconf
   SECTION:=libs
@@ -51,6 +52,19 @@ define Package/pkgconf/description
   maintaining compatibility.
 endef
 
+MESON_ARGS += \
+       -Dtests=false
+
+define Build/InstallDev
+       $(INSTALL_DIR) $(1)/usr/include/libpkgconf
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/libpkgconf/*.h $(1)/usr/include/libpkgconf/
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpkgconf.so* $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/share/aclocal/
+       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/pkg.m4 \
+         $(1)/usr/share/aclocal/
+endef
+
 define Package/libpkgconf/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpkgconf.so* $(1)/usr/lib/