Makefile 907 B

1234567891011121314151617181920212223242526272829303132333435363738
  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:=ffho
  10. CATEGORY:=Site-select
  11. TITLE:=UI for changing the node-config
  12. DEPENDS:=+gluon-config-mode-core-virtual +ffho-site-generate
  13. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  14. URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
  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,ffho-config-mode-site-select,i18n)
  23. endef
  24. define Package/ffho-config-mode-site-select/install
  25. $(CP) ./files/* $(1)/
  26. $(call GluonInstallI18N,ffho-config-mode-site-select,$(1))
  27. endef
  28. $(eval $(call BuildPackage,ffho-config-mode-site-select))