aboutsummaryrefslogtreecommitdiff
path: root/extra/libnghttp2/build
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/build
parent99b60befa9ba1b4ceec557e3bc05369019d4d71b (diff)
downloadrepository-5611af0eefa6cd13aeb52f10b26b075add7fe0a8.tar.gz
libnghttp2: move to extra
Diffstat (limited to 'extra/libnghttp2/build')
-rwxr-xr-xextra/libnghttp2/build12
1 files changed, 12 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"