summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repo/core/curl.xibuild2
-rw-r--r--repo/core/libnghttp.xibuild16
2 files changed, 17 insertions, 1 deletions
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
+}