| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | . ./env.shscip-shell source . . `./env.sh`. |
| 6 | |
| 7 | if [scip-shell system . . `[`. $# -ne 1 ]; then |
| 8 | echoscip-shell system . . 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 |