first commit
This commit is contained in:
3
src/http-parser/.gitignore
vendored
Normal file
3
src/http-parser/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/http-parser/changes.md
Normal file
2
src/http-parser/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 2.9.4
|
||||
First version
|
17
src/http-parser/pkg.sh
Normal file
17
src/http-parser/pkg.sh
Normal file
@ -0,0 +1,17 @@
|
||||
NAME="http-parser"
|
||||
DESC="Parser for HTTP Request/Response written in C"
|
||||
VERSION="2.9.4"
|
||||
FILES=("https://github.com/nodejs/http-parser/archive/refs/tags/v$VERSION.tar.gz")
|
||||
HASHES=("467b9e30fd0979ee301065e70f637d525c28193449e1b13fbcb1b1fab3ad224f")
|
||||
DEPENDS=("glibc")
|
||||
|
||||
PACKAGE() {
|
||||
tar xf v$VERSION.tar.gz
|
||||
cd $NAME-$VERSION
|
||||
|
||||
sed -i 's|-Werror||' Makefile
|
||||
make library
|
||||
make PREFIX="$ROOTDIR/usr" install
|
||||
|
||||
cd .. && rm -r $NAME-$VERSION
|
||||
}
|
Reference in New Issue
Block a user