From 40764118789f79f79e943a95b805db4e929ec5d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Sep 2018 17:18:42 +0200 Subject: Tweak bigclown packages --- bigclown-control-tools/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'bigclown-control-tools/Makefile') diff --git a/bigclown-control-tools/Makefile b/bigclown-control-tools/Makefile index c11aea7..723e29a 100644 --- a/bigclown-control-tools/Makefile +++ b/bigclown-control-tools/Makefile @@ -1,14 +1,7 @@ -# -## Copyright (C) 2016-2017 CZ.NIC z.s.p.o. (http://www.nic.cz/) -# -## This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# # -# include $(TOPDIR)/rules.mk PKG_NAME:=bigclown-control-tools -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=https://github.com/bigclownlabs/bch-control-tool.git PKG_MAINTAINER:=Karel Kočí @@ -21,7 +14,13 @@ define Package/$(PKG_NAME) DEPENDS:=+python3 endef +define Py3Package/$(PKG_NAME)/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) ./files/bch $(1)/usr/bin/bch +endef + define Build/Compile + sed -i 's/@@VERSION@@/$(PKG_VERSION)/' "$(PKG_BUILD_DIR)/setup.py" $(call Build/Compile/Py3Mod,,install --prefix="/usr" --root=$(PKG_INSTALL_DIR)) endef -- cgit v1.2.3 From 799af4541927be9b3b190c0a6d0c97e0bb2fc943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Sep 2018 22:15:18 +0200 Subject: Try to fix more bigclown packages --- bigclown-control-tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bigclown-control-tools/Makefile') diff --git a/bigclown-control-tools/Makefile b/bigclown-control-tools/Makefile index 723e29a..cf5fffc 100644 --- a/bigclown-control-tools/Makefile +++ b/bigclown-control-tools/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bigclown-control-tools -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=https://github.com/bigclownlabs/bch-control-tool.git PKG_MAINTAINER:=Karel Kočí @@ -11,7 +11,7 @@ $(call include_mk, python3-package.mk) define Package/$(PKG_NAME) TITLE:=BigCLown control tools - DEPENDS:=+python3 + DEPENDS:=+python3 +click-log +python3-influxdb endef define Py3Package/$(PKG_NAME)/install -- cgit v1.2.3 From d3997b58d70027875704feefe55c5926308af9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 14 Sep 2018 13:29:07 +0200 Subject: Add some additional dependencies --- bigclown-control-tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bigclown-control-tools/Makefile') diff --git a/bigclown-control-tools/Makefile b/bigclown-control-tools/Makefile index cf5fffc..12f5495 100644 --- a/bigclown-control-tools/Makefile +++ b/bigclown-control-tools/Makefile @@ -11,7 +11,7 @@ $(call include_mk, python3-package.mk) define Package/$(PKG_NAME) TITLE:=BigCLown control tools - DEPENDS:=+python3 +click-log +python3-influxdb + DEPENDS:=+python3 +click-log +python3-influxdb +python3-pyyaml +python3-pyserial +python3-simplejson endef define Py3Package/$(PKG_NAME)/install -- cgit v1.2.3