diff options
Diffstat (limited to 'repo/http-parser')
-rw-r--r-- | repo/http-parser/http-parser.xibuild | 22 |
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" +} + |