20 lines
315 B
Bash
Executable File
20 lines
315 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
#
|
|
|
|
VERSION="1.1.0"
|
|
URL="https://www.openssl.org/source/openssl-${VERSION}.tar.gz"
|
|
LOCAL_TARGZ="openssl-${VERSION}.tar.gz"
|
|
LOCAL_DIR="openssl-${VERSION}"
|
|
|
|
if [ ! -f "$LOCAL_TARGZ" ]; then
|
|
wget "$URL"
|
|
fi
|
|
|
|
if [ ! -d "$LOCAL_DIR" ]; then
|
|
tar xfz "$LOCAL_TARGZ"
|
|
cd "$LOCAL_DIR"
|
|
./config
|
|
make -j 16
|
|
fi
|