Re: [OpenWrt-Devel] [PATCH] add pkgconfig information for popt library

2015-01-16 Thread Mike Brady
I meant to mention that, as well as being A Good Thing in general, this would 
make is possible for me to bring shairport-sync 
(https://github.com/mikebrady/shairport-sync) over to OpenWrt without having to 
patch its configuration file.

 Modify makefile to record pkgconfig information for the popt library.

Mike
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] add pkgconfig information for popt library

2015-01-15 Thread Mike Brady
Modify makefile to record pkgconfig information for the popt library.

Signed-off-by: Mike Brady mikebr...@eircom.net
---
 package/libs/popt/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libs/popt/Makefile b/package/libs/popt/Makefile
index bd2e6e2..b31b311 100644
--- a/package/libs/popt/Makefile
+++ b/package/libs/popt/Makefile
@@ -45,6 +45,8 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/include/popt.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.{a,so*} $(1)/usr/lib/
+   $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+   $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/popt.pc 
$(1)/usr/lib/pkgconfig/
 endef
 
 define Package/libpopt/install
-- 
1.9.1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel