From 9527d12940dcc1973ccac828af6b4311ab8b8414 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 23 Dec 2021 14:48:25 +0000 Subject: added libnghttp --- repo/core/curl.xibuild | 2 +- repo/core/libnghttp.xibuild | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 repo/core/libnghttp.xibuild (limited to 'repo') diff --git a/repo/core/curl.xibuild b/repo/core/curl.xibuild index 5681315..c94624d 100644 --- a/repo/core/curl.xibuild +++ b/repo/core/curl.xibuild @@ -1,6 +1,6 @@ #!/bin/bash -DEPS=(cacerts openssl zlib zstd ) +DEPS=(cacerts openssl zlib zstd libnghttp) SOURCE=https://curl.se/download/curl-7.80.0.tar.xz DESC="A utility for transfering files with URL syntax" diff --git a/repo/core/libnghttp.xibuild b/repo/core/libnghttp.xibuild new file mode 100644 index 0000000..b90f3ed --- /dev/null +++ b/repo/core/libnghttp.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/nghttp2/nghttp2/releases/download/v1.46.0/nghttp2-1.46.0.tar.xz +DESC="Framing layer of HTTP implemented as a C library" + + +build () { + ./configure --prefix=/usr \ + --disable-static \ + --enable-lib-only \ + --docdir=/usr/share/doc/nghttp2-1.46.0 && + make + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1