Makefile 967 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
  7. define Package/gluon-config-mode-autoupdater
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Let the user know whether the autoupdater is enabled or not.
  11. DEPENDS:=gluon-config-mode-core-virtual +gluon-autoupdater
  12. endef
  13. define Package/gluon-config-mode-autoupdater/description
  14. Luci based config mode
  15. endef
  16. define Build/Prepare
  17. mkdir -p $(PKG_BUILD_DIR)
  18. endef
  19. define Build/Configure
  20. endef
  21. define Build/Compile
  22. $(call GluonBuildI18N,gluon-config-mode-autoupdater,i18n)
  23. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  24. endef
  25. define Package/gluon-config-mode-autoupdater/install
  26. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  27. $(call GluonInstallI18N,gluon-config-mode-autoupdater,$(1))
  28. endef
  29. $(eval $(call BuildPackage,gluon-config-mode-autoupdater))