From b3966853d6c336bc66d304b448ac65280bce7957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 19 Jan 2017 15:10:01 +0100 Subject: Initial commit --- myrepo-cert/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 myrepo-cert/Makefile (limited to 'myrepo-cert/Makefile') diff --git a/myrepo-cert/Makefile b/myrepo-cert/Makefile new file mode 100644 index 0000000..99f47fe --- /dev/null +++ b/myrepo-cert/Makefile @@ -0,0 +1,33 @@ +# +## Copyright (C) 2016 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:=myrepo-cert +PKG_VERSION:=1 +PKG_MAINTAINER:=Karel Koci +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/myrepo-cert + TITLE:=myrepo-cert +endef + +define Build/Compile + true +endef + +define Package/myrepo-cert/install + $(INSTALL_DIR) $(1)/etc/opkg/keys + $(INSTALL_DIR) $(1)/etc/updater/keys + + cp ./files/key.pub $(1)/etc/opkg/keys/cfb977a0d53c5424 + cp ./files/key.pub $(1)/etc/updater/keys/myrepo.pub +endef + +$(eval $(call BuildPackage,myrepo-cert)) -- cgit v1.2.3