From: Marko Ratkaj Date: Thu, 31 Mar 2022 10:35:29 +0000 (+0200) Subject: procps-ng: add missing InstallDev section X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=73b304bf0c8fb51d88d71974afc5449b9ef5fb8f;p=openwrt-packages.git procps-ng: add missing InstallDev section This package seems to be missing an InstallDev section. Had a compile failure for an application that needs to compile against libprocps Signed-off-by: Marko Ratkaj --- diff --git a/utils/procps-ng/Makefile b/utils/procps-ng/Makefile index 32f614256..23bfe6478 100644 --- a/utils/procps-ng/Makefile +++ b/utils/procps-ng/Makefile @@ -96,6 +96,12 @@ define Package/procps-ng/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/libprocps.so* $(1)/usr/lib/ endef +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/* $(1)/usr/lib/ +endef + define BuildPlugin define Package/procps-ng-$(1)/install $(INSTALL_DIR) $$(1)/usr/libexec