From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] libmicrohttp: update to version 0.9.48
Date: Tue, 29 Mar 2016 10:15:35 +0200 [thread overview]
Message-ID: <56FA39A7.4030205@mlbassoc.com> (raw)
In-Reply-To: <1459238795-12674-1-git-send-email-jose.bollo@iot.bzh>
On 2016-03-29 10:06, jose.bollo@iot.bzh wrote:
> From: José Bollo <jose.bollo@iot.bzh>
>
> Change-Id: I33a1acf8360d074a3310f9691ac939fe70a99f3e
> Signed-off-by: José Bollo <jose.bollo@iot.bzh>
> ---
> .../libmicrohttpd/libmicrohttpd_0.9.34.bb | 27 ----------------------
> .../libmicrohttpd/libmicrohttpd_0.9.48.bb | 27 ++++++++++++++++++++++
> 2 files changed, 27 insertions(+), 27 deletions(-)
> delete mode 100644 meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
> create mode 100644 meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.48.bb
>
> diff --git a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
> deleted file mode 100644
> index e3c833b..0000000
> --- a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -DESCRIPTION = "A small C library that is supposed to make it easy to run an HTTP server as part of another application"
> -HOMEPAGE = "http://www.gnu.org/software/libmicrohttpd/"
> -LICENSE = "LGPL-2.1+"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5"
> -SECTION = "net"
> -DEPENDS = "libgcrypt gnutls file"
> -
> -SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz"
> -SRC_URI[md5sum] = "2947eee13c2c8affb95023a0cb6fda0c"
> -SRC_URI[sha256sum] = "29a2bfd4fd2ddf60c756b8c283291a134898e3cc143843be421a040be1b25a88"
> -
> -inherit autotools lib_package
> -
> -# disable spdy, because it depends on openssl
> -EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../ --disable-spdy"
> -
> -PACKAGECONFIG ?= "curl"
> -PACKAGECONFIG_append_class-target = "\
> - ${@base_contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \
> -"
> -PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
> -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl,"
> -
> -do_compile_append() {
> - sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc
> -}
> -
> diff --git a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.48.bb b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.48.bb
> new file mode 100644
> index 0000000..892009e
> --- /dev/null
> +++ b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.48.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "A small C library that is supposed to make it easy to run an HTTP server as part of another application"
> +HOMEPAGE = "http://www.gnu.org/software/libmicrohttpd/"
> +LICENSE = "LGPL-2.1+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5"
> +SECTION = "net"
> +DEPENDS = "libgcrypt gnutls file"
> +
> +SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz"
> +SRC_URI[md5sum] = "9c298c890088a91fe0d7ac3fec9d0097"
> +SRC_URI[sha256sum] = "87667e158f2bf8c691a002e256ffe30885d4121a9ee4143af0320c47cdf8a2a4"
> +
> +inherit autotools lib_package
> +
> +# disable spdy, because it depends on openssl
> +EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../"
Why not make this a PACKAGECONFIG choice?
> +
> +PACKAGECONFIG ?= "curl"
> +PACKAGECONFIG_append_class-target = "\
> + ${@base_contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \
> +"
> +PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
> +PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl,"
> +
> +do_compile_append() {
> + sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc
> +}
> +
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2016-03-29 8:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-29 8:06 [PATCH] libmicrohttp: update to version 0.9.48 jose.bollo
2016-03-29 8:15 ` Gary Thomas [this message]
2016-03-29 8:20 ` José Bollo
2016-03-29 8:48 ` Gary Thomas
2016-03-29 14:26 ` José Bollo
-- strict thread matches above, loose matches on Subject: below --
2016-03-21 10:59 jose.bollo
2016-03-25 10:35 ` Martin Jansa
2016-03-29 8:03 ` José Bollo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56FA39A7.4030205@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox