From 26edea6c1cb08dee516af1762381d9cafcb8f812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 7 Oct 2020 23:01:36 +0200 Subject: medkit-initial-config: add new package --- medkit-initial-config/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 medkit-initial-config/Makefile (limited to 'medkit-initial-config/Makefile') 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 + +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)) -- cgit v1.2.3