summaryrefslogtreecommitdiffstats
path: root/package/libhttpparser/Config.in
diff options
context:
space:
mode:
authorRenaud AUBIN <root@renaud.io>2015-08-27 22:54:56 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-28 19:18:13 +0200
commitba1b3a5f39cb3507d548269f58770b66d441a545 (patch)
tree590618345ff4682880c35d2f4728537213b2c4dd /package/libhttpparser/Config.in
parent0d83de383224c65ec250a005130b1d3cc6fd6d76 (diff)
downloadbuildroot-ba1b3a5f39cb3507d548269f58770b66d441a545.tar.gz
buildroot-ba1b3a5f39cb3507d548269f58770b66d441a545.zip
package/libhttpparser: New package
http-parser provides a simple C API to parse HTTP responses and requests. This packaging uses the official Joyent repository. [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.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libhttpparser/Config.in')
-rw-r--r--package/libhttpparser/Config.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/libhttpparser/Config.in b/package/libhttpparser/Config.in
new file mode 100644
index 0000000000..31b8b9b376
--- /dev/null
+++ b/package/libhttpparser/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_LIBHTTPPARSER
+ bool "libhttpparser"
+ depends on !BR2_STATIC_LIBS
+ help
+ This is a parser for HTTP messages written in C. It
+ parses both requests and responses. The parser is
+ designed to be used in performance HTTP applications.
+ It does not make any syscalls nor allocations, it does
+ not buffer data, it can be interrupted at anytime.
+ Depending on your architecture, it only requires about
+ 40 bytes of data per message stream (in a web server
+ that is per connection).
+
+ https://github.com/joyent/http-parser
+
+comment "libhttpparser needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
OpenPOWER on IntegriCloud