Makefile 847 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:=3
  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. DEPENDS:=+libuci-lua
  14. endef
  15. define Package/freifunk-common/description
  16. Common files and scripts that are needed to run free wireless mesh networks.
  17. endef
  18. define Package/luci-mod-freifunk/conffiles
  19. /etc/config/freifunk
  20. endef
  21. define Build/Prepare
  22. mkdir -p $(PKG_BUILD_DIR)
  23. endef
  24. define Build/Configure
  25. endef
  26. define Build/Compile
  27. endef
  28. define Package/freifunk-common/install
  29. $(CP) ./files/* $(1)/
  30. endef
  31. $(eval $(call BuildPackage,freifunk-common))