summaryrefslogtreecommitdiff
path: root/repo/system/libnghttp.xibuild
blob: 7c4b9417ec36883b80bff9677c19681b118841c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

DEPS=(glibc)

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
}