package/zlib: include zlib.pc (pkconfig)
authorNicolas Thill <nico@openwrt.org>
Tue, 25 Oct 2011 21:10:37 +0000 (21:10 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 25 Oct 2011 21:10:37 +0000 (21:10 +0000)
Compiling zlib produces zlib.pc (pkgconfig), but it is not currently
installed in staging_dir/usr/lib/pkgconfig. If it was included other
packages depending on zlib could easier be compiled.

Signed-off-by: Espen Jürgensen <espenjurgensen@gmail.com>
SVN-Revision: 28591

package/zlib/Makefile

index 5cea85fc85e774b7d6657b8c0234567efa03ee01..be642ce3c209f8330ff80418fe5f5e693c5ce5b9 100644 (file)
@@ -56,6 +56,9 @@ define Build/InstallDev
        mkdir -p $(1)/usr/lib
        $(CP)   $(PKG_INSTALL_DIR)/usr/lib/libz.{a,so*} \
                $(1)/usr/lib/
+       mkdir -p $(1)/usr/lib/pkgconfig
+       $(CP)   $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/zlib.pc \
+               $(1)/usr/lib/pkgconfig/
 endef
 
 # libz.so is needed for openssl (zlib-dynamic)