2014-12-10 15:15:24 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-08-17 09:06:54 +00:00
|
|
|
if [ ! -d libsodium-1.0.11 ]; then
|
|
|
|
wget https://github.com/jedisct1/libsodium/releases/download/1.0.11/libsodium-1.0.11.tar.gz || exit 1
|
|
|
|
tar xf libsodium-1.0.11.tar.gz || exit 1
|
2014-12-10 15:15:24 +00:00
|
|
|
fi
|
2016-08-17 09:06:54 +00:00
|
|
|
pushd libsodium-1.0.11
|
2014-12-11 04:46:52 +00:00
|
|
|
./configure && make -j2 && make install || exit 1
|
2014-12-10 15:46:16 +00:00
|
|
|
sudo ldconfig
|
2014-12-10 15:15:24 +00:00
|
|
|
popd
|