new: migrate more packages

This commit is contained in:
ngn
2024-07-28 23:40:25 +03:00
parent 4b1ee5d9b2
commit a8589b623c
26 changed files with 472 additions and 0 deletions

3
src/nghttp2/.gitignore vendored Normal file
View File

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

2
src/nghttp2/changes.md Normal file
View File

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

27
src/nghttp2/pkg.sh Normal file
View File

@ -0,0 +1,27 @@
# general info
NAME="nghttp2"
DESC="HTTP/2 C Library and tools"
VERSION="1.62.1"
# required files
FILES=("https://github.com/nghttp2/nghttp2/archive/refs/tags/v${VERSION}.tar.gz")
HASHES=("73c8af772dd2b30cedc114d37291cf1485b0a7ce11833595fc2aec7b3ce3ba5c")
# install and build depends
DEPENDS=("glibc" "libxml2")
BUILD=()
build(){
tar xf "v${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
autoreconf -i
./configure --prefix=/usr \
--disable-static \
--enable-lib-only \
--docdir="/usr/share/doc/nghttp2-${VERSION}"
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}