luksrku/build_openssl
2016-09-24 11:07:58 +02:00

20 lines
316 B
Bash
Executable File

#!/bin/bash
#
#
VERSION="1.1.0a"
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