4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
9 PKG_NAME
:=python-ble2mqtt
14 PKG_HASH
:=b02a2cb61ae7a2ba6e4d9d5c2bd95bba80cd6ee8b7d8704a6a55ee56d5ecb196
16 PKG_MAINTAINER
:=Quintin Hill
<stuff@quintin.me.uk
>
18 PKG_LICENSE_FILES
:=LICENSE
21 include $(INCLUDE_DIR
)/package.mk
22 include ..
/python3-package.mk
24 define Package
/python3-ble2mqtt
28 TITLE
:=Bluetooth to MQTT bridge
29 URL
:=https
://github.com
/devbis
/ble2mqtt
/
30 DEPENDS
:=+python3-light
+python3-aio-mqtt-mod
+python3-asyncio
+python3-bleak
+python3-logging
+python3-uuid
33 define Package
/python3-ble2mqtt
/description
34 Bluetooth to MQTT bridge
, add your bluetooth-capable
(including controllable
)
35 devices to your smart home
38 define Py3Package
/python3-ble2mqtt
/install
39 $(INSTALL_DIR
) $(1)/etc
/init.d
40 $(INSTALL_BIN
) .
/files
/ble2mqtt.init
$(1)/etc
/init.d
/ble2mqtt
41 $(INSTALL_DIR
) $(1)/usr
/bin
42 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
45 $(eval
$(call Py3Package
,python3-ble2mqtt
))
46 $(eval
$(call BuildPackage
,python3-ble2mqtt
))
47 $(eval
$(call BuildPackage
,python3-ble2mqtt-src
))