1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_RELEASE:=1
  9. PKG_SOURCE_PROTO:=git
  10. PKG_SOURCE_URL:=https://github.com/cozybit/authsae.git
  11. PKG_SOURCE_DATE:=2014-06-09
  12. PKG_SOURCE_VERSION:=8531ab158910a525d4bcbb3ad02c08342f6987f2
  13. PKG_MIRROR_HASH:=a8fbed9eada17c552c70d834ee8f7c1e0987df59839bc113b3ec000500696715
  14. PKG_BUILD_PARALLEL:=1
  15. CMAKE_INSTALL:=1
  16. CMAKE_OPTIONS += -DSYSCONF_INSTALL_DIR=/etc
  17. PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
  18. PKG_LICENSE:=BSD-4-Clause
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/cmake.mk
  21. define Package/authsae
  22. SECTION:=net
  23. CATEGORY:=Network
  24. TITLE:=80211s mesh security
  25. DEPENDS:=+libopenssl +libconfig +libnl-tiny +@OPENSSL_WITH_EC
  26. endef
  27. TARGET_CFLAGS += -D_GNU_SOURCE
  28. define Package/authsae/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
  31. $(INSTALL_DIR) $(1)/lib/wifi
  32. $(INSTALL_DATA) ./files/lib/wifi/authsae.sh $(1)/lib/wifi/
  33. endef
  34. $(eval $(call BuildPackage,authsae))