summaryrefslogtreecommitdiff
path: root/bigclown-control-tools/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-09-10 22:50:52 +0200
committerKarel Kočí <cynerd@email.cz>2018-09-10 22:50:52 +0200
commitdf3d314797ebc02e0e0ffcd3d53dcc7186964296 (patch)
tree19f54dd2a8c16a53fc12c17a101a36d3c7eccc62 /bigclown-control-tools/Makefile
parent1b9a2d1d1a02759ebfc41fba2cc656dfe1071767 (diff)
downloadopenwrt-personal-pkgs-df3d314797ebc02e0e0ffcd3d53dcc7186964296.tar.gz
openwrt-personal-pkgs-df3d314797ebc02e0e0ffcd3d53dcc7186964296.tar.bz2
openwrt-personal-pkgs-df3d314797ebc02e0e0ffcd3d53dcc7186964296.zip
Add bigclown-control-tools
Diffstat (limited to 'bigclown-control-tools/Makefile')
-rw-r--r--bigclown-control-tools/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/bigclown-control-tools/Makefile b/bigclown-control-tools/Makefile
new file mode 100644
index 0000000..c11aea7
--- /dev/null
+++ b/bigclown-control-tools/Makefile
@@ -0,0 +1,29 @@
+#
+## 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_SOURCE_URL:=https://github.com/bigclownlabs/bch-control-tool.git
+PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
+
+include $(TOPDIR)/package/autopkg-tag.mk
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python3-package.mk)
+
+define Package/$(PKG_NAME)
+ TITLE:=BigCLown control tools
+ DEPENDS:=+python3
+endef
+
+define Build/Compile
+ $(call Build/Compile/Py3Mod,,install --prefix="/usr" --root=$(PKG_INSTALL_DIR))
+endef
+
+$(eval $(call Py3Package,$(PKG_NAME)))
+$(eval $(call BuildPackage,$(PKG_NAME)))