summaryrefslogtreecommitdiff
path: root/repo/http-parser
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-09 14:35:52 +0100
committerdavidovski <david@davidovski.xyz>2022-06-09 14:35:52 +0100
commitd1fc3393cca72e8e432f827f7624e38734fad6dc (patch)
tree7b971fbfc203ff017ad78852476bfcccee170971 /repo/http-parser
parentccc722b7ed330198d82a3cf28ead76d6d107a70a (diff)
moved firmware to separate pacakges
Diffstat (limited to 'repo/http-parser')
-rw-r--r--repo/http-parser/http-parser.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/http-parser/http-parser.xibuild b/repo/http-parser/http-parser.xibuild
new file mode 100644
index 0000000..7255229
--- /dev/null
+++ b/repo/http-parser/http-parser.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+NAME="http-parser"
+DESC="HTTP request/response parser for C"
+
+MAKEDEPS=""
+
+PKG_VER=2.9.4
+SOURCE="https://github.com/nodejs/http-parser/archive/v$PKG_VER/http-parser-$PKG_VER.tar.gz"
+
+build() {
+ make library
+}
+
+check() {
+ make test
+}
+
+package() {
+ make install DESTDIR="$PKG_DEST" PREFIX="/usr"
+}
+