From 70adb60173e18c5e02c6e604b0451a672ec2e4c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 11 Mar 2019 11:09:36 +0100 Subject: Try to split updater-ng to multiple packages --- updater-opkg-wrapper/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 updater-opkg-wrapper/Makefile (limited to 'updater-opkg-wrapper/Makefile') diff --git a/updater-opkg-wrapper/Makefile b/updater-opkg-wrapper/Makefile new file mode 100644 index 0000000..2c795f9 --- /dev/null +++ b/updater-opkg-wrapper/Makefile @@ -0,0 +1,34 @@ +# +## Copyright (C) 2019 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:=updater-opkg-wrapper +PKG_SOURCE_URL:=https://gitlab.labs.nic.cz/turris/updater/opkg-wrapper.git +PKG_SOURCE_BRANCH:=master +PKG_MAINTAINER:=CZ.NIC + +include $(INCLUDE_DIR)/autopkg-branch.mk +include $(INCLUDE_DIR)/package.mk + +define Package/$(PKG_NAME) + TITLE:=OPKG compatibility wrapper for next generation updater + DEPENDS:=+opkg +updater-ng +localrepo +endef + +define Package/$(PKG_NAME)/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/opkg $(1)/usr/bin/opkg-pkgupdate-wrapper.sh + $(INSTALL_DIR) $(1)/etc/updater/conf.d + $(INSTALL_CONF) $(PKG_BUILD_DIR)/opkg.lua $(1)/etc/updater/conf.d/opkg.lua + $(INSTALL_DIR) $(1)/etc/updater/opkg-ignore + touch $(1)/etc/updater/opkg-ignore/.keep +endef + +Build/Compile:= + +$(eval $(call BuildPackage,$(PKG_NAME))) -- cgit v1.2.3