diff options
| author | Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com> | 2021-05-12 15:08:40 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-05-12 07:11:41 -0700 |
| commit | 6f47ea50610d760a8f84106f8ea7d582a96ddf02 (patch) | |
| tree | 6f7398a791f924910db64ead0dc6308f2bffcad6 /meta-networking | |
| parent | 42e2ec56c7d96fd715fef90d76db393480ddaa66 (diff) | |
| download | meta-openembedded-6f47ea50610d760a8f84106f8ea7d582a96ddf02.tar.gz | |
http-parser: add recipe
HTTP request/response parser for C.
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb b/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb new file mode 100644 index 0000000000..2d04ded343 --- /dev/null +++ b/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | SUMMARY = "HTTP request/response parser for C" | ||
| 2 | DESCRIPTION = "This is a parser for HTTP messages written in C. It parses \ | ||
| 3 | both requests and responses. The parser is designed to be used \ | ||
| 4 | in performance HTTP applications. It does not make any \ | ||
| 5 | syscalls nor allocations, it does not buffer data, it can be \ | ||
| 6 | interrupted at anytime. Depending on your architecture, it \ | ||
| 7 | only requires about 40 bytes of data per message stream (in a \ | ||
| 8 | web server that is per connection)." | ||
| 9 | AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>" | ||
| 10 | HOMEPAGE = "https://github.com/nodejs/http-parser" | ||
| 11 | SECTION = "libs" | ||
| 12 | LICENSE = "MIT" | ||
| 13 | LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=9bfa835d048c194ab30487af8d7b3778" | ||
| 14 | |||
| 15 | SRC_URI = "git://github.com/nodejs/http-parser.git" | ||
| 16 | SRCREV = "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | do_configure[noexec] = "1" | ||
| 21 | |||
| 22 | do_compile() { | ||
| 23 | oe_runmake library package | ||
| 24 | } | ||
| 25 | |||
| 26 | do_install() { | ||
| 27 | oe_runmake install DESTDIR=${D} PREFIX=${prefix} | ||
| 28 | } | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native nativesdk" | ||
