build-nghttp2.sh (291B)
1 #!/bin/sh
2
3 set -e
4
5 . ./env.sh
6
7 if [ $# -ne 1 ]; then
8 echo "Usage: build-nghttp2.sh [release]"
9 exit 1
10 fi
11
12 NAME=nghttp2-$1
13
14 fetch "https://github.com/nghttp2/nghttp2/releases/download/v$1/$NAME.tar.gz" $NAME
15
16 default_build $NAME --enable-lib-only --prefix=$FAKEROOT/$NAME --enable-shared=no