first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/http-parser/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

View File

@ -0,0 +1,2 @@
# 2.9.4
First version

17
src/http-parser/pkg.sh Normal file
View 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
}