diff options
| -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" | ||
