2013-07-26 10:02:55 +00:00
|
|
|
|
|
|
|
# Copyright (C) 2007-2013 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=authsae
|
2014-10-02 19:47:28 +00:00
|
|
|
PKG_VERSION:=2014-06-09
|
2013-07-26 10:02:55 +00:00
|
|
|
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=git://github.com/cozybit/authsae.git
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
2014-10-02 19:47:28 +00:00
|
|
|
PKG_SOURCE_VERSION:=8531ab158910a525d4bcbb3ad02c08342f6987f2
|
2013-07-26 10:02:55 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
|
|
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
CMAKE_INSTALL:=1
|
|
|
|
|
|
|
|
CMAKE_OPTIONS += -DSYSCONF_INSTALL_DIR=/etc
|
|
|
|
|
2016-06-07 06:58:31 +00:00
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
2014-11-02 12:20:54 +00:00
|
|
|
PKG_LICENSE:=BSD-4-Clause
|
2013-07-26 10:03:03 +00:00
|
|
|
|
2013-07-26 10:02:55 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
|
|
|
|
define Package/authsae
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=80211s mesh security
|
2014-02-18 13:33:13 +00:00
|
|
|
DEPENDS:=+libopenssl +libconfig +libnl-tiny +@OPENSSL_WITH_EC
|
2013-07-26 10:02:55 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
TARGET_CFLAGS += -D_GNU_SOURCE
|
|
|
|
|
|
|
|
define Package/authsae/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
|
2013-07-26 10:02:59 +00:00
|
|
|
$(INSTALL_DIR) $(1)/lib/wifi
|
|
|
|
$(INSTALL_DATA) ./files/lib/wifi/authsae.sh $(1)/lib/wifi/
|
2013-07-26 10:02:55 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,authsae))
|