added our own pkg-config wrapper, making the sed foo on *.pc files obselete 2/2

git-svn-id: svn://svn.openwrt.org/openwrt/packages@9163 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic
2007-10-06 23:51:22 +00:00
parent fff28dd909
commit ef6b16d4d5
37 changed files with 3 additions and 85 deletions

View File

@ -56,8 +56,6 @@ endef
define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/* $(STAGING_DIR)/
$(SED) "s,libdirs=-L.*,libdirs=,g" $(STAGING_DIR)/usr/bin/gtk-config
$(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
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(STAGING_DIR)/usr/lib\'," $(STAGING_DIR)/usr/lib/lib{gtk,gdk}.la
endef