You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2019 EWSI
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=dcstad
  9. PKG_VERSION:=1.1.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://codeload.github.com/ewsi/$(PKG_NAME)/tar.gz/v$(PKG_VERSION)?
  13. PKG_HASH:=3bed8a5051c92cd41ba3477d2db211df8f10fd6e49946f0b74cf643464c1c201
  14. PKG_MAINTAINER:=Carey Sonsino <careys@edgewaterwireless.com>
  15. PKG_LICENSE:=Apache-2.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. PKG_BUILD_PARALLEL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/dcstad
  22. SECTION:=net
  23. CATEGORY:=Network
  24. SUBMENU:=Routing and Redirection
  25. TITLE:=Dual-Channel WiFi client daemon
  26. URL:=https://www.edgewaterwireless.com
  27. DEPENDS:=+libdcwsocket +libdcwproto
  28. endef
  29. define Package/dcstad/description
  30. Implementation of the Dual-Channel WiFi client daemon
  31. endef
  32. TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
  33. TARGET_LDFLAGS += -Wl,--gc-sections
  34. define Package/dcstad/install
  35. $(INSTALL_DIR) $(1)/bin
  36. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dcstad $(1)/bin/
  37. endef
  38. $(eval $(call BuildPackage,dcstad))