summaryrefslogtreecommitdiff
path: root/medkit-initial-config/Makefile
blob: c95fa531427a4caf1a49b980d8f8274eb447e5e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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))