diff options
author | Karel Kočí <cynerd@email.cz> | 2020-10-07 23:01:36 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-10-07 23:01:36 +0200 |
commit | 26edea6c1cb08dee516af1762381d9cafcb8f812 (patch) | |
tree | fe3e4f2b25ff0e91070d9971bf1994ba12ceba9d /medkit-initial-config/Makefile | |
parent | 033f0f48bad807b145aabf58617846e69b9df9c0 (diff) | |
download | openwrt-personal-pkgs-26edea6c1cb08dee516af1762381d9cafcb8f812.tar.gz openwrt-personal-pkgs-26edea6c1cb08dee516af1762381d9cafcb8f812.tar.bz2 openwrt-personal-pkgs-26edea6c1cb08dee516af1762381d9cafcb8f812.zip |
medkit-initial-config: add new package
Diffstat (limited to 'medkit-initial-config/Makefile')
-rw-r--r-- | medkit-initial-config/Makefile | 32 |
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)) |