PKG_NAME:=libmicrohttpd
PKG_VERSION:=0.9.70
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/libmicrohttpd
SECTION:=libs
CATEGORY:=Libraries
TITLE:=GNU libmicrohttpd is a library that runs an HTTP server.
- URL:=http://www.gnu.org/software/libmicrohttpd/
+ URL:=https://www.gnu.org/software/libmicrohttpd/
endef
define Package/libmicrohttpd-no-ssl
PROVIDES:=libmicrohttpd
endef
+define Package/libmicrohttpd/description
+ GNU libmicrohttpd is a small C library that is supposed to make it easy
+ to run an HTTP server as part of another application.
+endef
+
CONFIGURE_ARGS += \
--disable-curl \
--disable-rpath \
--disable-doc \
--disable-examples \
--disable-poll \
- --enable-epoll
+ --enable-epoll \
+ --with-pic
ifeq ($(BUILD_VARIANT),ssl)
CONFIGURE_ARGS += \
--without-gnutls
endif
-define Package/libmicrohttpd/description
- GNU libmicrohttpd is a small C library that is supposed to make it easy
- to run an HTTP server as part of another application.
-endef
-
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/microhttpd.h $(1)/usr/include/