summaryrefslogtreecommitdiff
path: root/repo/libnghttp/libnghttp.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libnghttp/libnghttp.xibuild')
-rw-r--r--repo/libnghttp/libnghttp.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/libnghttp/libnghttp.xibuild b/repo/libnghttp/libnghttp.xibuild
new file mode 100644
index 0000000..6f006dc
--- /dev/null
+++ b/repo/libnghttp/libnghttp.xibuild
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+MAKEDEPS="make "
+DEPS="musl"
+
+PKG_VER=1.46.0
+
+SOURCE=https://github.com/nghttp2/nghttp2/releases/download/v$PKG_VER/nghttp2-$PKG_VER.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-$PKG_VER &&
+ make
+}
+package () {
+ make DESTDIR=$PKG_DEST install
+}