summaryrefslogtreecommitdiff
path: root/reforis-storage-plugin
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-07-16 17:58:08 +0200
committerKarel Kočí <karel.koci@nic.cz>2020-07-16 17:58:08 +0200
commit7520c16c9ac81b0d8819945ed4d279d203e3e1a0 (patch)
tree4e96fc72e7cd52898eac74047923a927e960067a /reforis-storage-plugin
parent003e44d94660bea4645fe93b08fd34d3d72223da (diff)
downloadopenwrt-personal-pkgs-7520c16c9ac81b0d8819945ed4d279d203e3e1a0.tar.gz
openwrt-personal-pkgs-7520c16c9ac81b0d8819945ed4d279d203e3e1a0.tar.bz2
openwrt-personal-pkgs-7520c16c9ac81b0d8819945ed4d279d203e3e1a0.zip
Add some unreleased reForis plugins
Diffstat (limited to 'reforis-storage-plugin')
-rw-r--r--reforis-storage-plugin/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/reforis-storage-plugin/Makefile b/reforis-storage-plugin/Makefile
new file mode 100644
index 0000000..02e1ede
--- /dev/null
+++ b/reforis-storage-plugin/Makefile
@@ -0,0 +1,47 @@
+#
+# Copyright (C) 2020 CZ.NIC z.s.p.o. (https://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:=reforis-storage-plugin
+PKG_VERSION:=0.1.0
+PKG_RELEASE:=1
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://gitlab.nic.cz/turris/reforis/reforis-storage.git
+PKG_SOURCE_VERSION:=a4ac8eeca36186960a80c573334faab73f4e478d
+
+PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
+PKG_LICENSE:=GPL-3.0-or-later
+PKG_LICENSE_FILES:=LICENSE
+
+PKG_BUILD_DEPENDS:=\
+ node/host \
+ reforis-distutils/host \
+
+include $(INCLUDE_DIR)/package.mk
+include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
+include ../reforis/files/reforis-plugin.mk
+include ../reforis/files/reforis-translations.mk
+
+define Package/reforis-storage-plugin
+ TITLE:=reForis Storage plugin
+ URL:=https://gitlab.nic.cz/turris/reforis/reforis-storage
+ DEPENDS:=\
+ +reforis \
+ +foris-controller-storage-module
+ VARIANT:=python3
+endef
+
+define Package/reforis-storage-plugin/description
+ reForis Storage plugin
+endef
+
+REFORIS_TRANSLATIONS:=cs
+
+$(eval $(call ReForisPlugin,reforis-storage-plugin,reforis_storage))
+# call BuildPackage <= assures OWR build system that this is package