Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-site-auto-select
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION)
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/ffho-site-auto-select
  8. SECTION:=ffho
  9. CATEGORY:=Gluon
  10. TITLE:=Toolset to autodetect the site.
  11. DEPENDS:=+gluon-core +micrond +gluon-neighbour-info +ffho-site-generate
  12. MAINTAINER:=Freifunk Hochstift <maschinenraum@paderborn.freifunk.net>
  13. URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
  14. SOURCE:=git@git.c3pb.de:freifunk-pb/ffho-packages.git
  15. endef
  16. define Package/ffho-site-auto-select/description
  17. Toolset to autodetect the site by geo and gluon-neighbour-info.
  18. endef
  19. define Build/Prepare
  20. mkdir -p $(PKG_BUILD_DIR)
  21. endef
  22. define Build/Configure
  23. endef
  24. define Build/Compile
  25. endef
  26. define Package/ffho-site-auto-select/preinst
  27. endef
  28. define Package/ffho-site-auto-select/install
  29. $(CP) ./files/* $(1)/
  30. endef
  31. $(eval $(call BuildPackage,ffho-site-auto-select))