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
17 lines
270 B
Bash
Executable File
17 lines
270 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
. /home/build/env.sh
|
|
|
|
if [ $# -ne 4 ]; then
|
|
echo "Usage: build-kore.sh [openssl] [python] [curl] [nghttp2]"
|
|
exit 1
|
|
fi
|
|
|
|
export PATH=$FAKEROOT/Python-$2/bin:$FAKEROOT/curl-$3/bin:$PATH
|
|
export OPENSSL_PATH=$FAKEROOT/openssl-$1
|
|
|
|
kodev clean
|
|
kodev build
|