Initial Commit
- initial default booting image
This commit is contained in:
22
package/libmicrohttpd/Config.in
Normal file
22
package/libmicrohttpd/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_LIBMICROHTTPD
|
||||
bool "libmicrohttpd"
|
||||
help
|
||||
GNU libmicrohttpd is a small C library that makes it easy to
|
||||
run an HTTP server as part of another application.
|
||||
|
||||
https://www.gnu.org/software/libmicrohttpd/
|
||||
|
||||
if BR2_PACKAGE_LIBMICROHTTPD
|
||||
|
||||
config BR2_PACKAGE_LIBMICROHTTPD_SSL
|
||||
bool "https support"
|
||||
depends on !BR2_STATIC_LIBS # gnutls
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_GNUTLS
|
||||
help
|
||||
Enable HTTPS (SSL) support.
|
||||
|
||||
comment "libmicrohttpd https support needs a toolchain w/ wchar, dynamic library"
|
||||
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
||||
|
||||
endif
|
||||
3
package/libmicrohttpd/libmicrohttpd.hash
Normal file
3
package/libmicrohttpd/libmicrohttpd.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 04bfe8ef75db7d629a33de767599765cecadc56274a39822d5d081030d577685 libmicrohttpd-1.0.10.tar.gz
|
||||
sha256 7399547209438c93f9b90297954698773d4846cea44cde5ca982c84c45952a3b COPYING
|
||||
33
package/libmicrohttpd/libmicrohttpd.mk
Normal file
33
package/libmicrohttpd/libmicrohttpd.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# libmicrohttpd
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBMICROHTTPD_VERSION = 1.0.10
|
||||
LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd
|
||||
LIBMICROHTTPD_LICENSE_FILES = COPYING
|
||||
LIBMICROHTTPD_CPE_ID_VENDOR = gnu
|
||||
LIBMICROHTTPD_INSTALL_STAGING = YES
|
||||
LIBMICROHTTPD_DEPENDENCIES = host-pkgconf
|
||||
LIBMICROHTTPD_CONF_OPTS = --disable-curl --disable-examples
|
||||
LIBMICROHTTPD_CFLAGS = $(TARGET_CFLAGS) -std=c99
|
||||
|
||||
LIBMICROHTTPD_CONF_ENV += CFLAGS="$(LIBMICROHTTPD_CFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y)
|
||||
LIBMICROHTTPD_LICENSE = LGPL-2.1+
|
||||
LIBMICROHTTPD_DEPENDENCIES += gnutls
|
||||
LIBMICROHTTPD_CONF_OPTS += --enable-https --with-gnutls=$(STAGING_DIR)/usr
|
||||
else
|
||||
LIBMICROHTTPD_LICENSE = LGPL-2.1+ or eCos
|
||||
LIBMICROHTTPD_CONF_OPTS += --disable-https
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
LIBMICROHTTPD_CONF_OPTS += --with-threads=auto
|
||||
else
|
||||
LIBMICROHTTPD_CONF_OPTS += --with-threads=none
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user