aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb
blob: d4f76850d350f6d24449c0ee3902762b72dc69a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUMMARY = "HTTP request/response parser for C"
DESCRIPTION = "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)."
AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>"
HOMEPAGE = "https://github.com/nodejs/http-parser"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=9bfa835d048c194ab30487af8d7b3778"

SRC_URI = "git://github.com/nodejs/http-parser.git;branch=master;protocol=https"
SRCREV = "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd"

S = "${WORKDIR}/git"

EXTRA_OEMAKE = "PLATFORM=linux"

do_configure[noexec] = "1"

do_compile() {
    oe_runmake library package
}

do_install() {
    oe_runmake install DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir}
}

BBCLASSEXTEND = "native nativesdk"