@ -8,70 +8,65 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := libmicrohttpd
PKG_VERSION := 0.9.60
PKG_VERSION := 0.9.62
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := @GNU/libmicrohttpd
PKG_HASH := cd0e5d3f95a9e55ef7cdf4d0530e997ba00b8411af9149d9287db785d729c471
PKG_MAINTAINER := Alexander Couzens <lynxis@fe80.eu>
PKG_LICENSE := LGPL-2.1
PKG_LICENSE_FILES := COPYING
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_NAME) -$( BUILD_VARIANT) /$( PKG_NAME) -$( PKG_VERSION)
PKG_BUILD_PARALLEL := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := @GNU/libmicrohttpd
PKG_HASH := bd3e097d703f5091a6a01b56c0464a90fdd17f5d50478cea50a346b25c88db49
PKG_BUILD_PARALLEL := 1
PKG_INSTALL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / l i b m i c r o h t t p d / D e f a u l t
SECTION:= libs
CATEGORY:= Libraries
TITLE:= GNU libmicrohttpd is a library that runs an HTTP server.
URL:= http://www.gnu.org/software/libmicrohttpd/
d e f i n e P a c k a g e / l i b m i c r o h t t p d / d e f a u l t
SECTION:= libs
CATEGORY:= Libraries
TITLE:= GNU libmicrohttpd is a library that runs an HTTP server.
URL:= http://www.gnu.org/software/libmicrohttpd/
e n d e f
d e f i n e P a c k a g e / l i b m i c r o h t t p d
$( call Package /libmicrohttpd /Default )
TITLE += ( with-ssl)
DEPENDS:= +libpthread +libgcrypt +libgnutls +libgpg-error
e n d e f
d e f i n e P a c k a g e / l i b m i c r o h t t p d - n o - s s l
$( call Package /libmicrohttpd /Default )
TITLE += ( no-ssl)
DEPENDS:= +libpthread
VARIANT:= no-ssl
CONFLICTS:= libmicrohttpd
e n d e f
d e f i n e P a c k a g e / l i b m i c r o h t t p d / d e s c r i p t i o n / D e f a u l t
GNU libmicrohttpd is a small C library that is supposed to make it easy
to run an HTTP server as part of another application.
$( call Package /libmicrohttpd /default )
VARIANT:= nossl
CONFLICTS:= libmicrohttpd-ssl
e n d e f
d e f i n e P a c k a g e / l i b m i c r o h t t p d - n o - s s l / d e s c r i p t i o n
$( call Package /libmicrohttp /description /Default )
d e f i n e P a c k a g e / l i b m i c r o h t t p d - s s l
$( call Package /libmicrohttpd /default )
TITLE += with SSL support
VARIANT:= ssl
DEPENDS:= +libgcrypt +libgnutls +libgpg-error
PROVIDES:= libmicrohttpd
e n d e f
CONFIGURE_ARGS += \
--disable-curl \
--disable-spdy \
--without-openssl
--disable-rpath \
--disable-doc \
--disable-examples \
--enable-poll= no \
--enable-epoll= yes \
i f e q ( $( BUILD_VARIANT ) , n o - s s l )
CONFIGURE_ARGS += \
--disable-https \
--without-gnutls
e l s e
i f e q ( $( BUILD_VARIANT ) , s s l )
CONFIGURE_ARGS += \
--enable-https \
--with-gnutls
e l s e
CONFIGURE_ARGS += \
--disable-https \
--without-gnutls
e n d i f
d e f i n e P a c k a g e / l i b m i c r o h t t p d / d e s c r i p t i o n
GNU libmicrohttpd is a small C library that is supposed to make it easy
to run an HTTP server as part of another application.
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include/
$( INSTALL_DATA) $( PKG_INSTALL_DIR) /usr/include/* $( 1) /usr/include/
@ -86,9 +81,5 @@ define Package/libmicrohttpd/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/*.so* $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / l i b m i c r o h t t p d - n o - s s l / i n s t a l l
$( call Package /libmicrohttpd /install ,$ 1)
e n d e f
$( eval $ ( call BuildPackage ,libmicrohttpd ) )
$( eval $ ( call BuildPackage ,libmicrohttpd -no -ssl ) )
$( eval $ ( call BuildPackage ,libmicrohttpd -ssl ) )