You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
337 B
20 lines
337 B
8 months ago
|
#!/bin/sh
|
||
|
set -eu
|
||
|
|
||
|
version_openssl=1.1.1w
|
||
|
|
||
|
dir_download="$PWD/download"
|
||
|
mkdir -p build; cd build
|
||
|
dir_install="$PWD/install-openssl"
|
||
|
|
||
|
# Prepare source
|
||
|
tar xf "$dir_download/openssl-$version_openssl.tar.gz"
|
||
|
cd "openssl-$version_openssl"
|
||
|
|
||
|
# Configure source
|
||
|
./config --prefix="$dir_install" no-shared
|
||
|
|
||
|
# Build and install
|
||
|
make
|
||
|
make install
|