blob: 38a7874da3a36cc8491dc49e6416b2d27d19dddb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
MAKEDEPS=(make )
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
}
|