summaryrefslogtreecommitdiff
path: root/medkit-initial-config/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'medkit-initial-config/Makefile')
-rw-r--r--medkit-initial-config/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/medkit-initial-config/Makefile b/medkit-initial-config/Makefile
new file mode 100644
index 0000000..c95fa53
--- /dev/null
+++ b/medkit-initial-config/Makefile
@@ -0,0 +1,32 @@
+#
+## Copyright (C) 2020 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:=medkit-initial-config
+PKG_VERSION:=0.1.0
+PKG_RELEASE:=1
+
+PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/medkit-initial-config
+ SECTION:=updater
+ CATEGORY:=Turris Updater
+ TITLE:=Initial config for use with medkit
+ DEPENDS:=+schnapps
+endef
+
+define Package/medkit-initial-config/install
+ $(INSTALL_DIR) $(1)/etc/uci-defaults
+ $(INSTALL_BIN) ./files/medkit-initial-config $(1)/etc/uci-defaults/99-medkit-initial-config
+endef
+
+Build/Compile:=:
+
+$(eval $(call BuildPackage,medkit-initial-config))