Makefile 824 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Copyright (C) 2011 Manuel Munz <freifunk at somakoma de>
  2. # This is free software, licensed under the Apache 2.0 license.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:=freifunk-common
  5. PKG_RELEASE:=1
  6. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  7. include $(INCLUDE_DIR)/package.mk
  8. define Package/freifunk-common
  9. SECTION:=luci
  10. CATEGORY:=LuCI
  11. SUBMENU:=9. Freifunk
  12. TITLE:=Freifunk common files
  13. endef
  14. define Package/freifunk-common/description
  15. Common files and scripts that are needed to run free wireless mesh networks.
  16. endef
  17. define Package/luci-mod-freifunk/conffiles
  18. /etc/config/freifunk
  19. endef
  20. define Build/Prepare
  21. mkdir -p $(PKG_BUILD_DIR)
  22. endef
  23. define Build/Configure
  24. endef
  25. define Build/Compile
  26. endef
  27. define Package/freifunk-common/install
  28. $(CP) ./files/* $(1)/
  29. endef
  30. $(eval $(call BuildPackage,freifunk-common))