Inital commit, install gnutls

FossilOrigin-Name: c5d05fda3c7285fc4c1eb4a9cf53bb5ce5bce6e8e1c7ac7415015e0c0475fd78
This commit is contained in:
7u83@mail.ru 2015-02-08 10:41:27 +00:00
parent be69873d1c
commit 843d10055e

20
src/contrib/install_gnutls.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/sh
MAJOR_VERSION="3.3"
MINOR_VERSION="9"
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}
if [ ! -e gnutls-${VERSION}.tar.xz ]
then
wget http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/gnutls/v$MAJOR_VERSION/gnutls-${MAJOR_VERSION}.${MINOR_VERSION}.tar.xz
fi
tar xvf gnutls-${VERSION}.tar.xz
cd gnutls-${VERSION}
./configure --enable-dynamic --enable-static --prefix=$HOME/usr --exec-prefix=$HOME/usr
make
make install