2 # Copyright (C) 2019 EWSI
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://codeload.github.com
/ewsi
/$(PKG_NAME
)/tar.gz
/v
$(PKG_VERSION
)?
16 PKG_HASH
:=3b146ea22bc5480d8264c5ea269831d25993673aa90a9e82dc2dc601a111da55
18 PKG_MAINTAINER
:=Carey Sonsino
<careys@edgewaterwireless.com
>
19 PKG_LICENSE
:=Apache-2.0
20 PKG_LICENSE_FILES
:=COPYING
26 include $(INCLUDE_DIR
)/package.mk
31 SUBMENU
:=Routing and Redirection
32 TITLE
:=Dual-Channel WiFi client daemon
33 URL
:=https
://www.edgewaterwireless.com
34 DEPENDS
:=+libdcwsocket
+libdcwproto
37 define Package
/dcstad
/description
38 Implementation of the Dual-Channel WiFi client daemon
41 TARGET_CFLAGS
+= -ffunction-sections
-fdata-sections
-flto
42 TARGET_LDFLAGS
+= -Wl
,--gc-sections
44 define Package
/dcstad
/install
45 $(INSTALL_DIR
) $(1)/bin
46 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/dcstad
$(1)/bin
/
49 $(eval
$(call BuildPackage
,dcstad
))