William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 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 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 15 | SRC_URI = "git://github.com/nodejs/http-parser.git;branch=master;protocol=https" |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 16 | SRCREV = "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd" |
| 17 | |
| 18 | S = "${WORKDIR}/git" |
| 19 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 20 | EXTRA_OEMAKE = "PLATFORM=linux" |
| 21 | |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 22 | do_configure[noexec] = "1" |
| 23 | |
| 24 | do_compile() { |
| 25 | oe_runmake library package |
| 26 | } |
| 27 | |
| 28 | do_install() { |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 29 | oe_runmake install DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir} |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | BBCLASSEXTEND = "native nativesdk" |