Makefile 909 B

12345678910111213141516171819202122232425262728293031323334353637
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-config-mode-site-select
  3. PKG_VERSION:=0.1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(TOPDIR)/../package/gluon.mk
  6. PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
  7. define Package/ffho-config-mode-site-select
  8. SECTION:=ffho
  9. CATEGORY:=Site-select
  10. TITLE:=UI for changing the node-config
  11. DEPENDS:=+gluon-config-mode-core +ffho-site-generate
  12. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  13. endef
  14. define Build/Prepare
  15. mkdir -p $(PKG_BUILD_DIR)
  16. endef
  17. define Build/Configure
  18. endef
  19. define Build/Compile
  20. $(call GluonBuildI18N,ffho-config-mode-site-select,i18n)
  21. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  22. endef
  23. define Package/ffho-config-mode-site-select/install
  24. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  25. $(call GluonInstallI18N,ffho-config-mode-site-select,$(1))
  26. endef
  27. $(eval $(call BuildPackage,ffho-config-mode-site-select))