Makefile 1.2 KB

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