Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
include $(TOPDIR)/rules.mk
PKG_NAME:=libuhttpd
include $(TOPDIR)/rules.mk
PKG_NAME:=libuhttpd
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL=https://github.com/zhaojh329/libuhttpd/releases/download/v$(PKG_VERSION)
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL=https://github.com/zhaojh329/libuhttpd/releases/download/v$(PKG_VERSION)
-PKG_HASH:=dcd95fac7b29d43f57e942db6e9fb4c8745d4284684cd627d60c8a7f8c76cd32
+PKG_HASH:=0639ce20f81d4826e96c3abf7d287f15220e53912ba9d56e228e2409252985e1
PKG_MAINTAINER:=Jianhui Zhao <zhaojh329@gmail.com>
PKG_LICENSE:=MIT
PKG_MAINTAINER:=Jianhui Zhao <zhaojh329@gmail.com>
PKG_LICENSE:=MIT
Package/libuhttpd-nossl=$(call Package/libuhttpd/Default,nossl)
ifeq ($(BUILD_VARIANT),openssl)
Package/libuhttpd-nossl=$(call Package/libuhttpd/Default,nossl)
ifeq ($(BUILD_VARIANT),openssl)
- CMAKE_OPTIONS += -DUHTTPD_USE_OPENSSL=ON
+ CMAKE_OPTIONS += -DUSE_OPENSSL=ON
else ifeq ($(BUILD_VARIANT),wolfssl)
else ifeq ($(BUILD_VARIANT),wolfssl)
- CMAKE_OPTIONS += -DUHTTPD_USE_WOLFSSL=ON
+ CMAKE_OPTIONS += -DUSE_WOLFSSL=ON
else ifeq ($(BUILD_VARIANT),mbedtls)
else ifeq ($(BUILD_VARIANT),mbedtls)
- CMAKE_OPTIONS += -DUHTTPD_USE_MBEDTLS=ON
+ CMAKE_OPTIONS += -DUSE_MBEDTLS=ON
- CMAKE_OPTIONS += -DUHTTPD_SSL_SUPPORT=OFF
+ CMAKE_OPTIONS += -DSSL_SUPPORT=OFF
endif
define Package/libuhttpd-$(BUILD_VARIANT)/install
endif
define Package/libuhttpd-$(BUILD_VARIANT)/install