[Buildroot] [PATCH] package/libhttpparser: New package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Aug 28 17:27:08 UTC 2015


Dear Renaud AUBIN,

On Thu, 27 Aug 2015 22:54:56 +0200, Renaud AUBIN wrote:
> http-parser provides a simple C API to parse HTTP responses and
> requests.
> 
> This packaging uses the official Joyent repository.
> ---
>  package/Config.in                      |  1 +
>  package/libhttpparser/Config.in        | 13 +++++++++++++
>  package/libhttpparser/libhttpparser.mk | 27 +++++++++++++++++++++++++++
>  3 files changed, 41 insertions(+)
>  create mode 100644 package/libhttpparser/Config.in
>  create mode 100644 package/libhttpparser/libhttpparser.mk

Thanks, I've applied your patch to the next branch, after doing some
changes:

    [Thomas:
     - since we're always building the shared library, depend on
       !BR2_STATIC_LIBS in Config.in. We could build only the static
       library, but then we would have to do all the lib installation
       manually.
     - indent using tabs in Config.in
     - use 'make install' instead of handcoding the library installation.
     - use $(TARGET_CONFIGURE_OPTS) instead of just CC= and LD=.
     - use tabs for indentation in commands instead of spaces
     - add patch to fix reinstallation.]

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list