summaryrefslogtreecommitdiff
path: root/lang/python/python-ble2mqtt/Makefile
diff options
context:
space:
mode:
authorQuintin Hill <stuff@quintin.me.uk>2023-06-20 22:39:58 +0100
committerQuintin Hill <stuff@quintin.me.uk>2023-06-20 22:39:58 +0100
commit5cf30460555ba0687bbd61769c30edfb43e39949 (patch)
tree2071a2e6a0a025c485bd7c08d90d6c2598a48465 /lang/python/python-ble2mqtt/Makefile
parent9536d28384d0d924e8b03ce42dbc2d61ce4174d0 (diff)
python-ble2mqtt: fix installation of python program
This was broken when the init script was added in 408502ee0. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
Diffstat (limited to 'lang/python/python-ble2mqtt/Makefile')
-rw-r--r--lang/python/python-ble2mqtt/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/python/python-ble2mqtt/Makefile b/lang/python/python-ble2mqtt/Makefile
index 851684688..8e78d36ee 100644
--- a/lang/python/python-ble2mqtt/Makefile
+++ b/lang/python/python-ble2mqtt/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-ble2mqtt
PKG_VERSION:=0.1.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=ble2mqtt
PKG_HASH:=c57d6823f1133ce0b5e0e3d9f7d2b3fd58d2ad64c0cc86cb3fa180b178999fa6
@@ -38,6 +38,8 @@ endef
define Py3Package/python3-ble2mqtt/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/ble2mqtt.init $(1)/etc/init.d/ble2mqtt
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
endef
$(eval $(call Py3Package,python3-ble2mqtt))