2 # Copyright (C) 2007-2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_VERSION
:=2013-07-24
12 PKG_RELEASE
=$(PKG_SOURCE_VERSION
)
15 PKG_SOURCE_URL
:=git
://github.com
/cozybit
/authsae.git
16 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
17 PKG_SOURCE_VERSION
:=f5693a3ee8dcc4e11d25acc4e75f5d154c0b302b
18 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
).
tar.gz
23 CMAKE_OPTIONS
+= -DSYSCONF_INSTALL_DIR
=/etc
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/cmake.mk
28 define Package
/authsae
31 TITLE
:=80211s mesh security
32 DEPENDS
=+libopenssl
+libconfig
+libnl-tiny
+@OPENSSL_WITH_EC
35 TARGET_CFLAGS
+= -D_GNU_SOURCE
37 define Package
/authsae
/install
38 $(INSTALL_DIR
) $(1)/usr
/bin
39 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
40 $(INSTALL_DIR
) $(1)/lib
/wifi
41 $(INSTALL_DATA
) .
/files
/lib
/wifi
/authsae.sh
$(1)/lib
/wifi
/
44 $(eval
$(call BuildPackage
,authsae
))