summaryrefslogtreecommitdiff
path: root/repo/core
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-12-23 14:48:25 +0000
committerdavidovski <david@davidovski.xyz>2021-12-23 14:48:25 +0000
commit9527d12940dcc1973ccac828af6b4311ab8b8414 (patch)
tree869f13fafa64eecd25eca3f8243b5c215e3da50a /repo/core
parente48203392c33c2c80be46d2696ffc35a6ae17cd0 (diff)
added libnghttp
Diffstat (limited to 'repo/core')
-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
+}