fd0e82ffd89432422366d7fad7e4c6cf16d9839d
[openwrt/openwrt.git] / package / network / services / authsae / Makefile
1
2 # Copyright (C) 2007-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=authsae
11 PKG_RELEASE:=1
12
13 PKG_SOURCE_PROTO:=git
14 PKG_SOURCE_URL:=https://github.com/cozybit/authsae.git
15 PKG_SOURCE_DATE:=2014-06-09
16 PKG_SOURCE_VERSION:=8531ab158910a525d4bcbb3ad02c08342f6987f2
17 PKG_MIRROR_HASH:=a8fbed9eada17c552c70d834ee8f7c1e0987df59839bc113b3ec000500696715
18
19 PKG_BUILD_PARALLEL:=1
20 CMAKE_INSTALL:=1
21
22 CMAKE_OPTIONS += -DSYSCONF_INSTALL_DIR=/etc
23
24 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
25 PKG_LICENSE:=BSD-4-Clause
26
27 include $(INCLUDE_DIR)/package.mk
28 include $(INCLUDE_DIR)/cmake.mk
29
30 define Package/authsae
31 SECTION:=net
32 CATEGORY:=Network
33 TITLE:=80211s mesh security
34 DEPENDS:=+libopenssl +libconfig +libnl-tiny +@OPENSSL_WITH_EC
35 endef
36
37 TARGET_CFLAGS += -D_GNU_SOURCE
38
39 define Package/authsae/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
42 $(INSTALL_DIR) $(1)/lib/wifi
43 $(INSTALL_DATA) ./files/lib/wifi/authsae.sh $(1)/lib/wifi/
44 endef
45
46 $(eval $(call BuildPackage,authsae))