[packages] libshout: fixup pkg-config file before installing it into staging dir

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18824 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2009-12-18 16:20:39 +00:00
parent 1daf9469b7
commit 3e181bfaa8

View File

@ -58,6 +58,8 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libshout.{a,so*} $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(SED) 's|/usr/include|$(STAGING_DIR)/usr/include|' \
(PKG_INSTALL_DIR)/usr/lib/pkgconfig/shout.pc
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/shout.pc $(1)/usr/lib/pkgconfig/
endef