projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ade55
)
python-ble2mqtt: fix installation of python program
author
Quintin Hill
<stuff@quintin.me.uk>
Tue, 20 Jun 2023 21:39:58 +0000
(22:39 +0100)
committer
Tianling Shen
<cnsztl@gmail.com>
Thu, 22 Jun 2023 14:26:31 +0000
(22:26 +0800)
This was broken when the init script was added in
408502ee0
.
(cherry picked from commit
5cf30460555ba0687bbd61769c30edfb43e39949
)
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
lang/python/python-ble2mqtt/Makefile
patch
|
blob
|
history
diff --git
a/lang/python/python-ble2mqtt/Makefile
b/lang/python/python-ble2mqtt/Makefile
index 85168468859442688c8fc1d4211b6b12222b6904..8e78d36ee127b96c56d8a7b04518246d1fd55fad 100644
(file)
--- 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))