summaryrefslogtreecommitdiff
path: root/libs/nghttp2/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nghttp2/MAKEPKG')
-rw-r--r--libs/nghttp2/MAKEPKG35
1 files changed, 35 insertions, 0 deletions
diff --git a/libs/nghttp2/MAKEPKG b/libs/nghttp2/MAKEPKG
new file mode 100644
index 0000000..cc1b451
--- /dev/null
+++ b/libs/nghttp2/MAKEPKG
@@ -0,0 +1,35 @@
+#!/bin/mkpkg
+# description: HTTP/2 C Library and tools
+# url: https://github.com/nghttp2/nghttp2/
+
+name=nghttp2
+version=1.70.0
+release=1
+source=(
+ https://github.com/nghttp2/nghttp2/releases/download/v$version/nghttp2-$version.tar.xz
+)
+
+sha256sums=(
+ "e05cb1388eaca3830aded4ccf20044b6e1ac1a61411dcca11b0437c4285c8bc2"
+)
+
+build() {
+ cd nghttp2-$version
+
+ ./configure \
+ --prefix=/usr \
+ --enable-lib-only \
+ --disable-examples \
+ --disable-python-bindings
+ make
+ make -C lib DESTDIR=$PKG install
+
+ rm -f $PKG/usr/lib/*.la
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh