d46ef2a9084ea03b8c1e384e3be9ba2b35e47196
[openwrt/svn-archive/archive.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_VERSION:=2014-06-09
12 PKG_RELEASE=$(PKG_SOURCE_VERSION)
13
14 PKG_SOURCE_PROTO:=git
15 PKG_SOURCE_URL:=git://github.com/cozybit/authsae.git
16 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17 PKG_SOURCE_VERSION:=8531ab158910a525d4bcbb3ad02c08342f6987f2
18 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
19
20 PKG_LICENSE:=BSD-3-Clause
21 PKG_LICENSE_FILES:=
22
23 PKG_BUILD_PARALLEL:=1
24 CMAKE_INSTALL:=1
25
26 CMAKE_OPTIONS += -DSYSCONF_INSTALL_DIR=/etc
27
28 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
29 PKG_LICENSE:=BSD-4-Clause
30
31 include $(INCLUDE_DIR)/package.mk
32 include $(INCLUDE_DIR)/cmake.mk
33
34 define Package/authsae
35 SECTION:=net
36 CATEGORY:=Network
37 TITLE:=80211s mesh security
38 DEPENDS:=+libopenssl +libconfig +libnl-tiny +@OPENSSL_WITH_EC
39 endef
40
41 TARGET_CFLAGS += -D_GNU_SOURCE
42
43 define Package/authsae/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
46 $(INSTALL_DIR) $(1)/lib/wifi
47 $(INSTALL_DATA) ./files/lib/wifi/authsae.sh $(1)/lib/wifi/
48 endef
49
50 $(eval $(call BuildPackage,authsae))