New package: nghttp3-1.7.0

This commit is contained in:
Đoàn Trần Công Danh 2025-01-03 12:15:33 +07:00 committed by Đoàn Trần Công Danh
parent cbf08ff976
commit c295bd29d3
3 changed files with 30 additions and 0 deletions

View File

@ -2383,6 +2383,7 @@ libjreen-qt5.so.1 jreen-1.3.0_1
libzen.so.0 libzen-0.4.31_1
libmediainfo.so.0 libmediainfo-0.7.75_1
libnghttp2.so.14 nghttp2-1.43.0_2
libnghttp3.so.9 nghttp3-1.7.0_1
librom1394.so.0 libavc1394-0.5.4_1
libavc1394.so.0 libavc1394-0.5.4_1
libiec61883.so.0 libiec61883-1.2.0_1

1
srcpkgs/nghttp3-devel Symbolic link
View File

@ -0,0 +1 @@
nghttp3

28
srcpkgs/nghttp3/template Normal file
View File

@ -0,0 +1,28 @@
# Template file for 'nghttp3'
pkgname=nghttp3
version=1.7.0
revision=1
build_style=cmake
configure_args="-DENABLE_STATIC_LIB=OFF -DBUILD_TESTING=ON"
short_desc="HTTP/3 library written in C"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="MIT"
homepage="https://nghttp2.org/nghttp3/"
distfiles="https://github.com/ngtcp2/nghttp3/releases/download/v${version}/nghttp3-${version}.tar.xz"
checksum=b4eb6bceb99293d9a9df2031c1aad166af3d57b3e33655aca0699397b6f0d751
post_install() {
vlicense COPYING
rm -rf "${DESTDIR}/usr/share/doc"
}
nghttp3-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}