gluon/package/gluon-autoupdater/Makefile

34 lines
589 B
Makefile
Raw Normal View History

include $(TOPDIR)/rules.mk
2013-09-29 22:12:45 +00:00
PKG_NAME:=gluon-autoupdater
PKG_VERSION:=0.3.2.99
PKG_RELEASE:=0.1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
2013-09-29 22:12:45 +00:00
define Package/gluon-autoupdater
SECTION:=gluon
CATEGORY:=Gluon
DEPENDS:=+ecdsautils +gluon-cron
TITLE:=Automatically update firmware
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
endef
2013-09-29 22:12:45 +00:00
define Package/gluon-autoupdater/install
$(CP) ./files/* $(1)/
chmod +x $(1)/usr/sbin/autoupdate
endef
2013-09-29 22:12:45 +00:00
$(eval $(call BuildPackage,gluon-autoupdater))