not files from gtk+-2 were staged correctly

git-svn-id: svn://svn.openwrt.org/openwrt/packages@9157 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2007-10-06 01:01:20 +00:00
parent 2152ddb00b
commit 8816f641c0

View File

@ -50,7 +50,7 @@ endef
define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR)/usr/{lib/pkgconfig,include}
$(CP) -r $(PKG_INSTALL_DIR)/usr/include/* $(STAGING_DIR)/include/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{la,so} $(STAGING_DIR)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{la,so.*} $(STAGING_DIR)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(STAGING_DIR)/usr/lib/pkgconfig/
$(SED) "s,"prefix\=.*",prefix=$(STAGING_DIR)/usr," $(STAGING_DIR)/usr/lib/pkgconfig/{gtk,gdk}*.pc
$(SED) "s,"exec_prefix\=.*",exec_prefix=$(STAGING_DIR)/usr," $(STAGING_DIR)/usr/lib/pkgconfig/{gtk,gdk}*.pc