install bluez.pc pkg-config file (closes: #2238)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8440 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
73171e6c5c
commit
cfc2304dc7
@ -47,12 +47,17 @@ define Build/InstallDev
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/bluetooth/*.h $(STAGING_DIR)/usr/include/bluetooth
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/bluetooth/*.h $(STAGING_DIR)/usr/include/bluetooth
|
||||||
mkdir -p $(STAGING_DIR)/usr/lib
|
mkdir -p $(STAGING_DIR)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libbluetooth.{a,so*} $(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
|
endef
|
||||||
|
|
||||||
define Build/UninstallDev
|
define Build/UninstallDev
|
||||||
rm -rf \
|
rm -rf \
|
||||||
$(STAGING_DIR)/usr/include/bluetooth \
|
$(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
|
endef
|
||||||
|
|
||||||
define Package/bluez-libs/install
|
define Package/bluez-libs/install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user