2 # Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
4 # This is free software, licensed under the Apache License, Version 2.0 .
7 include $(TOPDIR
)/rules.mk
9 LUCI_TITLE
:=NIXIO POSIX library
10 LUCI_DEPENDS
:=+PACKAGE_luci-lib-nixio_openssl
:libopenssl
+PACKAGE_luci-lib-nixio_cyassl
:libcyassl
+liblua
12 PKG_LICENSE
:=Apache-2.0
14 define Package
/luci-lib-nixio
/config
17 default PACKAGE_luci-lib-nixio_notls
19 config PACKAGE_luci-lib-nixio_notls
22 config PACKAGE_luci-lib-nixio_axtls
23 bool
"Builtin (axTLS)"
25 config PACKAGE_luci-lib-nixio_cyassl
27 select PACKAGE_libcyassl
29 config PACKAGE_luci-lib-nixio_openssl
31 select PACKAGE_libopenssl
37 ifneq ($(CONFIG_PACKAGE_luci-lib-nixio_axtls
),)
41 ifneq ($(CONFIG_PACKAGE_luci-lib-nixio_openssl
),)
45 ifneq ($(CONFIG_PACKAGE_luci-lib-nixio_cyassl
),)
47 LUCI_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/include/cyassl
50 MAKE_VARS
+= NIXIO_TLS
="$(NIXIO_TLS)"
54 # call BuildPackage - OpenWrt buildroot signature