|
|
|
@ -18,11 +18,11 @@ PKG_SOURCE_VERSION:=14e3971c37e6feb0ec5eda0988e07d8a786ba9f9 |
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
|
|
|
|
|
|
|
|
|
|
PKG_CONFIG_DEPENDS = CONFIG_PACKAGE_uhttpd-mod-tls
|
|
|
|
|
PKG_BUILD_DEPENDS = ustream-ssl
|
|
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Package/uhttpd/default |
|
|
|
|
SECTION:=net
|
|
|
|
|
CATEGORY:=Network
|
|
|
|
@ -102,7 +102,7 @@ endef |
|
|
|
|
|
|
|
|
|
TARGET_LDFLAGS += -lcrypt
|
|
|
|
|
|
|
|
|
|
CMAKE_OPTIONS = -DTLS_SUPPORT=$(if $(CONFIG_PACKAGE_uhttpd-mod-tls),on,off)
|
|
|
|
|
CMAKE_OPTIONS = -DTLS_SUPPORT=on
|
|
|
|
|
|
|
|
|
|
define Package/uhttpd/install |
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
|