From: Florian Eckert Date: Thu, 1 Aug 2024 14:27:19 +0000 (+0200) Subject: liboping: add pkgconfig to dev install target X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9d26c089bb94ed9c22f23a071886d8cc31957194;p=openwrt-packages.git liboping: add pkgconfig to dev install target The packages 'liboping' does also provide da 'pkgconfig' file. So that other programs that link against this library and use pkgconfig can find it more easily, the provided pkconfig file must also be copied into the staging dir. Signed-off-by: Florian Eckert --- diff --git a/libs/liboping/Makefile b/libs/liboping/Makefile index 2d5ca695d..dc5013d87 100644 --- a/libs/liboping/Makefile +++ b/libs/liboping/Makefile @@ -62,8 +62,12 @@ CONFIGURE_ARGS += \ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/oping.h $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/liboping.{a,so*} $(1)/usr/lib/ + + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/liboping.pc $(1)/usr/lib/pkgconfig/ endef define Package/liboping/install