mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 01:51:22 +00:00
python-ble2mqtt: fix installation of python program
This was broken when the init script was added in408502ee0. (cherry picked from commit5cf3046055) Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
This commit is contained in:
committed by
Tianling Shen
parent
01ade55f68
commit
39f49ddb23
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=python-ble2mqtt
|
PKG_NAME:=python-ble2mqtt
|
||||||
PKG_VERSION:=0.1.7
|
PKG_VERSION:=0.1.7
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PYPI_NAME:=ble2mqtt
|
PYPI_NAME:=ble2mqtt
|
||||||
PKG_HASH:=c57d6823f1133ce0b5e0e3d9f7d2b3fd58d2ad64c0cc86cb3fa180b178999fa6
|
PKG_HASH:=c57d6823f1133ce0b5e0e3d9f7d2b3fd58d2ad64c0cc86cb3fa180b178999fa6
|
||||||
@@ -38,6 +38,8 @@ endef
|
|||||||
define Py3Package/python3-ble2mqtt/install
|
define Py3Package/python3-ble2mqtt/install
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
$(INSTALL_BIN) ./files/ble2mqtt.init $(1)/etc/init.d/ble2mqtt
|
$(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
|
endef
|
||||||
|
|
||||||
$(eval $(call Py3Package,python3-ble2mqtt))
|
$(eval $(call Py3Package,python3-ble2mqtt))
|
||||||
|
|||||||
Reference in New Issue
Block a user