authsae 80211s authentication daemon
[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:=2013-07-24
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:=f5693a3ee8dcc4e11d25acc4e75f5d154c0b302b
18 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
19
20 PKG_BUILD_PARALLEL:=1
21 CMAKE_INSTALL:=1
22
23 CMAKE_OPTIONS += -DSYSCONF_INSTALL_DIR=/etc
24
25 include $(INCLUDE_DIR)/package.mk
26 include $(INCLUDE_DIR)/cmake.mk
27
28 define Package/authsae
29 SECTION:=net
30 CATEGORY:=Network
31 TITLE:=80211s mesh security
32 DEPENDS=+libopenssl +libconfig +libnl-tiny +@OPENSSL_WITH_EC
33 endef
34
35 TARGET_CFLAGS += -D_GNU_SOURCE
36
37 define Package/authsae/install
38 $(INSTALL_DIR) $(1)/usr/bin
39 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
40 endef
41
42 $(eval $(call BuildPackage,authsae))