|
|
@ -8,13 +8,13 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=libuhttpd |
|
|
|
PKG_VERSION:=2.0.3 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_VERSION:=2.1.2 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
|
PKG_SOURCE_VERSION:=v$(PKG_VERSION) |
|
|
|
PKG_SOURCE_URL=https://github.com/zhaojh329/libuhttpd.git |
|
|
|
PKG_MIRROR_HASH:=f20e4081ba1bbea277a3c86f28fa451d54546817a58814fff91470550a5b8e5d |
|
|
|
PKG_MIRROR_HASH:=0f80b643ca4fa652df1a4510384e941e045b1ad8124fa4c8128a56861189b325 |
|
|
|
CMAKE_INSTALL:=1 |
|
|
|
|
|
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR) |
|
|
@ -39,6 +39,7 @@ define Package/libuhttpd-nossl |
|
|
|
$(Package/libuhttpd/default) |
|
|
|
TITLE += (NO SSL) |
|
|
|
VARIANT:=nossl |
|
|
|
CONFLICTS:=libuhttpd-openssl libuhttpd-wolfssl libuhttpd-mbedtls |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libuhttpd-openssl |
|
|
@ -46,6 +47,7 @@ define Package/libuhttpd-openssl |
|
|
|
TITLE += (openssl) |
|
|
|
DEPENDS += +libustream-openssl |
|
|
|
VARIANT:=openssl |
|
|
|
CONFLICTS:=libuhttpd-wolfssl libuhttpd-mbedtls |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libuhttpd-wolfssl |
|
|
@ -53,6 +55,7 @@ define Package/libuhttpd-wolfssl |
|
|
|
TITLE += (wolfssl) |
|
|
|
DEPENDS += +libustream-wolfssl |
|
|
|
VARIANT:=wolfssl |
|
|
|
CONFLICTS:=libuhttpd-mbedtls |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libuhttpd-mbedtls |
|
|
@ -67,8 +70,9 @@ ifeq ($(BUILD_VARIANT),nossl) |
|
|
|
endif |
|
|
|
|
|
|
|
define Package/libuhttpd/default/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/ |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/ $(1)/usr/lib/lua/ |
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libuhttpd.so* $(1)/usr/lib/ |
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/lua/uhttpd.so* $(1)/usr/lib/lua/ |
|
|
|
endef |
|
|
|
|
|
|
|
Package/libuhttpd-nossl/install = $(Package/libuhttpd/default/install) |
|
|
|