Inital commit, install gnutls
FossilOrigin-Name: c5d05fda3c7285fc4c1eb4a9cf53bb5ce5bce6e8e1c7ac7415015e0c0475fd78
This commit is contained in:
		
							
								
								
									
										20
									
								
								src/contrib/install_gnutls.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										20
									
								
								src/contrib/install_gnutls.sh
									
									
									
									
									
										Executable 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 | ||||||
|  |  | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user