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.
10 lines
285 B
10 lines
285 B
#!/bin/bash
|
|
|
|
if [ ! -d libsodium-1.0.1 ]; then
|
|
wget https://github.com/jedisct1/libsodium/releases/download/1.0.1/libsodium-1.0.1.tar.gz || exit 1
|
|
tar xf libsodium-1.0.1.tar.gz || exit 1
|
|
fi
|
|
pushd libsodium-1.0.1
|
|
./configure && make && make install || exit 1
|
|
sudo ldconfig
|
|
popd
|
|
|