From 0c94c125965642995d803f65fb312c26a18c91c4 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 20 Aug 2007 08:33:10 +0000 Subject: [PATCH] install bluez.pc pkg-config file (closes: #2238) SVN-Revision: 8440 --- libs/bluez-libs/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/bluez-libs/Makefile b/libs/bluez-libs/Makefile index b3ac9290df..516c21291d 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 -- 2.30.2