1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-14 03:03:54 +02:00
gluon-packages/admin/autoupdater/Makefile
2014-08-06 12:06:49 +02:00

32 lines
590 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=autoupdater
PKG_VERSION:=2
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(GLUONDIR)/include/package.mk
define Package/autoupdater
SECTION:=admin
CATEGORY:=Administration
DEPENDS:=+lua-platform-info +luci-lib-nixio +ecdsautils +!BUSYBOX_CONFIG_SHA512SUM:coreutils-sha512sum
TITLE:=Automatically update firmware
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/autoupdater/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,autoupdater))