Makefile 875 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-config-mode-site-select
  3. PKG_VERSION:=0.1
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
  8. define Package/ffho-config-mode-site-select
  9. SECTION:=gluon
  10. CATEGORY:=Gluon
  11. TITLE:=UI for changing the node-config
  12. endef
  13. define Build/Prepare
  14. mkdir -p $(PKG_BUILD_DIR)
  15. endef
  16. define Build/Configure
  17. endef
  18. define Build/Compile
  19. $(call GluonBuildI18N,ffho-config-mode-site-select,i18n)
  20. endef
  21. define Package/ffho-config-mode-site-select/install
  22. mkdir -p $(1)/etc/config/
  23. mkdir -p $(1)/lib/gluon/site-select/
  24. $(CP) ./files/* $(1)/
  25. $(CP) $(GLUON_SITEDIR)/extra/* $(1)/lib/gluon/site-select/
  26. DIR=$(1) sh create-config.sh
  27. $(call GluonInstallI18N,ffho-config-mode-site-select,$(1))
  28. endef
  29. $(eval $(call BuildPackage,ffho-config-mode-site-select))