Makefile 813 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-wan-dnsmasq
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include ../gluon.mk
  6. define Package/gluon-wan-dnsmasq
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=Support for a secondary DNS server using the WAN interface
  10. DEPENDS:=+gluon-core +dnsmasq +libpacketmark
  11. endef
  12. define Package/gluon-wan-dnsmasq/description
  13. Gluon community wifi mesh firmware framework: Support for a secondary DNS server using the WAN interface
  14. endef
  15. define Build/Prepare
  16. mkdir -p $(PKG_BUILD_DIR)
  17. endef
  18. define Build/Configure
  19. endef
  20. define Build/Compile
  21. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  22. endef
  23. define Package/gluon-wan-dnsmasq/install
  24. $(CP) ./files/* $(1)/
  25. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  26. endef
  27. $(eval $(call BuildPackage,gluon-wan-dnsmasq))