summaryrefslogtreecommitdiff
path: root/bigclown-control-tool/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2019-02-18 18:27:14 +0100
committerKarel Kočí <karel.koci@nic.cz>2019-02-18 18:27:14 +0100
commit75cec6167d7e90f0fd452b572abf4a880ce1c913 (patch)
tree428cfa7a74fd517159ca19fa491fe5bca339ea76 /bigclown-control-tool/Makefile
parentf28843337fbad82009cc28ad182a405e95fb939a (diff)
downloadopenwrt-personal-pkgs-75cec6167d7e90f0fd452b572abf4a880ce1c913.tar.gz
openwrt-personal-pkgs-75cec6167d7e90f0fd452b572abf4a880ce1c913.tar.bz2
openwrt-personal-pkgs-75cec6167d7e90f0fd452b572abf4a880ce1c913.zip
bigclown-control-tool: try to fix missing binary
Diffstat (limited to 'bigclown-control-tool/Makefile')
-rw-r--r--bigclown-control-tool/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/bigclown-control-tool/Makefile b/bigclown-control-tool/Makefile
index 38730f6..f052418 100644
--- a/bigclown-control-tool/Makefile
+++ b/bigclown-control-tool/Makefile
@@ -26,6 +26,11 @@ define Package/$(PKG_NAME)
DEPENDS:=+python3-click-log +python3-paho-mqtt +python3-pyserial +python3-yaml +python3-simplejson
endef
+define Py3Package/$(PKG_NAME)/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
+endef
+
define Build/Compile
sed -i 's/@@VERSION@@/$(PKG_VERSION)/' "$(PKG_BUILD_DIR)/setup.py"
$(call Py3Build/Compile/Default)