mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 20:49:01 -04:00
Allows building Kore with several different component versions. Eg: $ ./build-kore.sh 1.1.1h 3.9.0 7.72.0 1.41.0 Will build Kore with OpenSSL 1.1.1h, Python 3.9.0, Curl 7.72.0 and nghttp2 (for curl) 1.41.0
20 lines
371 B
Bash
Executable File
20 lines
371 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
. ./env.sh
|
|
|
|
if [ $# -ne 3 ]; then
|
|
echo "Usage: build-curl.sh [release] [openssl] [nghttp2]"
|
|
exit 1
|
|
fi
|
|
|
|
export PKG_CONFIG="pkg-config --static"
|
|
export PKG_CONFIG_PATH="$FAKEROOT/openssl-$2/lib/pkgconfig:$FAKEROOT/nghttp2-$3/lib/pkgconfig"
|
|
|
|
NAME=curl-$1
|
|
|
|
fetch "https://curl.haxx.se/download/$NAME.tar.gz" $NAME
|
|
|
|
default_build $NAME --enable-shared=no
|