This package is used to build libgit2.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- http-parser/http-parser.nm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 http-parser/http-parser.nm
diff --git a/http-parser/http-parser.nm b/http-parser/http-parser.nm new file mode 100644 index 000000000..d22337873 --- /dev/null +++ b/http-parser/http-parser.nm @@ -0,0 +1,50 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team info@ipfire.org # +############################################################################### + +name = http-parser +version = 2.9.2 +release = 1 + +groups = System/Libraries +url = https://github.com/nodejs/http-parser +license = MIT +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). +end + +source_dl = https://github.com/nodejs/%%7Bname%7D/archive/v%%7Bversion%7D/ + +build + prepare_cmds + # Remove Werror from Makefile. + sed -i 's/-Werror//g' Makefile + end + + # Testsuite will be launched automatically + # after compiling has finished. + + make_install_targets += \ + PREFIX=%{prefix} \ + LIBDIR=%{libdir} +end + +packages + package %{name} + + package %{name}-devel + template DEVEL + end + + package %{name}-debuginfo + template DEBUGINFO + end +end