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

@ -65,8 +65,6 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sigc++-2.0 $(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/sigc++-2.0.pc $(STAGING_DIR)/usr/lib/pkgconfig/
$(SED) 's,^includedir=.*,includedir=$(STAGING_DIR)/usr/include,g' $(STAGING_DIR)/usr/lib/pkgconfig/sigc++-2.0.pc
$(SED) 's,^libdir=.*,libdir=$(STAGING_DIR)/usr/lib,g' $(STAGING_DIR)/usr/lib/pkgconfig/sigc++-2.0.pc
$(SED) 's,$(TARGET_LDFLAGS),,g' $(STAGING_DIR)/usr/lib/pkgconfig/sigc++-2.0.pc
endef