aboutsummaryrefslogtreecommitdiff
path: root/extra/libnghttp2
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-09-26 19:56:53 +0200
committerCem Keylan <cem@ckyln.com>2022-09-26 19:56:53 +0200
commit5611af0eefa6cd13aeb52f10b26b075add7fe0a8 (patch)
tree6bde97d620d157c153bd4e0e476af3abf502b986 /extra/libnghttp2
parent99b60befa9ba1b4ceec557e3bc05369019d4d71b (diff)
downloadrepository-5611af0eefa6cd13aeb52f10b26b075add7fe0a8.tar.gz
libnghttp2: move to extra
Diffstat (limited to 'extra/libnghttp2')
-rwxr-xr-xextra/libnghttp2/build12
-rw-r--r--extra/libnghttp2/checksums2
-rw-r--r--extra/libnghttp2/meta3
-rw-r--r--extra/libnghttp2/sources1
-rw-r--r--extra/libnghttp2/version1
5 files changed, 19 insertions, 0 deletions
diff --git a/extra/libnghttp2/build b/extra/libnghttp2/build
new file mode 100755
index 00000000..dc08efc4
--- /dev/null
+++ b/extra/libnghttp2/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --enable-lib-only
+
+make
+make DESTDIR="$1" install
+
+# Even when only installing libraries, the build system installs manual pages
+# and documentation for the utilities.
+rm -r "${1:?}/usr/share"
diff --git a/extra/libnghttp2/checksums b/extra/libnghttp2/checksums
new file mode 100644
index 00000000..8e64f11e
--- /dev/null
+++ b/extra/libnghttp2/checksums
@@ -0,0 +1,2 @@
+%BLAKE3
+9ecfd5a01f89580ca1b382af77292022bd45bad0b5eccd9bc793a0114457e674 nghttp2-1.49.0.tar.xz
diff --git a/extra/libnghttp2/meta b/extra/libnghttp2/meta
new file mode 100644
index 00000000..8a488f7e
--- /dev/null
+++ b/extra/libnghttp2/meta
@@ -0,0 +1,3 @@
+description: Framing layer of HTTP/2 implemented as a form of reusable C library
+license: MIT
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/libnghttp2/sources b/extra/libnghttp2/sources
new file mode 100644
index 00000000..5c4092ec
--- /dev/null
+++ b/extra/libnghttp2/sources
@@ -0,0 +1 @@
+https://github.com/nghttp2/nghttp2/releases/download/v1.49.0/nghttp2-1.49.0.tar.xz
diff --git a/extra/libnghttp2/version b/extra/libnghttp2/version
new file mode 100644
index 00000000..4f719e4a
--- /dev/null
+++ b/extra/libnghttp2/version
@@ -0,0 +1 @@
+1.49.0 1