From: Nicolas Thill Date: Mon, 20 Aug 2007 08:33:10 +0000 (+0000) Subject: install bluez.pc pkg-config file (closes: #2238) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c8737afa66e4732411e0838a0adcaa7bf2b4110c;p=openwrt%2Fsvn-archive%2Fpackages.git install bluez.pc pkg-config file (closes: #2238) SVN-Revision: 8440 --- diff --git a/libs/bluez-libs/Makefile b/libs/bluez-libs/Makefile index b3ac9290d..516c21291 100644 --- a/libs/bluez-libs/Makefile +++ b/libs/bluez-libs/Makefile @@ -47,12 +47,17 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/include/bluetooth/*.h $(STAGING_DIR)/usr/include/bluetooth mkdir -p $(STAGING_DIR)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbluetooth.{a,so*} $(STAGING_DIR)/usr/lib/ + mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/bluez.pc $(STAGING_DIR)/usr/lib/pkgconfig/ + $(SED) 's,-I$$$${includedir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/bluez.pc + $(SED) 's,-L$$$${libdir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/bluez.pc endef define Build/UninstallDev rm -rf \ $(STAGING_DIR)/usr/include/bluetooth \ - $(STAGING_DIR)/usr/lib/libbluetooth.{a,so*} + $(STAGING_DIR)/usr/lib/libbluetooth.{a,so*} \ + $(STAGING_DIR)/usr/lib/pkgconfig/bluez.pc endef define Package/bluez-libs/install