blob: 528289b7fd21a3e7c2dc4b811438373cc83d0edc [file] [log] [blame]
William A. Kennington IIIb95905d2021-06-02 12:40:56 -07001SUMMARY = "HTTP request/response parser for C"
2DESCRIPTION = "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)."
William A. Kennington IIIb95905d2021-06-02 12:40:56 -07009HOMEPAGE = "https://github.com/nodejs/http-parser"
10SECTION = "libs"
11LICENSE = "MIT"
12LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=9bfa835d048c194ab30487af8d7b3778"
13
Andrew Geissler595f6302022-01-24 19:11:47 +000014SRC_URI = "git://github.com/nodejs/http-parser.git;branch=master;protocol=https"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070015SRCREV = "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd"
16
17S = "${WORKDIR}/git"
18
Andrew Geissler9aee5002022-03-30 16:27:02 +000019EXTRA_OEMAKE = "PLATFORM=linux"
20
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070021do_configure[noexec] = "1"
22
23do_compile() {
24 oe_runmake library package
25}
26
27do_install() {
Andrew Geissler9aee5002022-03-30 16:27:02 +000028 oe_runmake install DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir}
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070029}
30
31BBCLASSEXTEND = "native nativesdk"