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

MAKEDEPS="make "
DEPS="musl"

PKG_VER=1.49.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
}