Makefile 721 B

1234567891011121314151617181920212223242526272829303132333435
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-config-mode-autoupdater
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(GLUONDIR)/include/package.mk
  6. define Package/gluon-config-mode-autoupdater
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=Let the user know whether the autoupdater is enabled or not.
  10. DEPENDS:=+gluon-config-mode-core +gluon-autoupdater
  11. endef
  12. define Package/gluon-config-mode-autoupdater/description
  13. Luci based config mode
  14. endef
  15. define Build/Prepare
  16. mkdir -p $(PKG_BUILD_DIR)
  17. endef
  18. define Build/Configure
  19. endef
  20. define Build/Compile
  21. endef
  22. define Package/gluon-config-mode-autoupdater/install
  23. $(CP) ./files/* $(1)/
  24. endef
  25. $(eval $(call BuildPackage,gluon-config-mode-autoupdater))