diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-04-24 21:55:56 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-04-24 21:55:56 +0200 |
commit | bcd09e9a0036c004c1a1c0dbd58c67e716cea786 (patch) | |
tree | 08f9b6044be240f0bf82dcf4d2928ccf21d7b220 /taler-build/update_libgnurl.sh | |
parent | 8d43fd25ef96226d0f0fdf19b5bc792cd6142dd4 (diff) | |
download | deployment-bcd09e9a0036c004c1a1c0dbd58c67e716cea786.tar.gz deployment-bcd09e9a0036c004c1a1c0dbd58c67e716cea786.tar.bz2 deployment-bcd09e9a0036c004c1a1c0dbd58c67e716cea786.zip |
makefiles
Diffstat (limited to 'taler-build/update_libgnurl.sh')
-rwxr-xr-x | taler-build/update_libgnurl.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/taler-build/update_libgnurl.sh b/taler-build/update_libgnurl.sh new file mode 100755 index 0000000..cac9ade --- /dev/null +++ b/taler-build/update_libgnurl.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +export PATH="$HOME/deployment":$PATH +base=${TALER_DEPLOYMENT_BASE:-$HOME} + +build_gnurl() { + ( + set -eu + base=${TALER_DEPLOYMENT_BASE:-$HOME} + + cd $HOME/gnurl + git clean -fdx + ./bootstrap + ./configure --enable-ipv6 --with-gnutls --without-libssh2 --without-libmetalink --without-winidn --without-librtmp --without-nghttp2 --without-nss --without-cyassl --without-polarssl --without-ssl --without-winssl --without-darwinssl --disable-sspi --disable-ntlm-wb --disable-ldap --disable-rtsp --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smtp --disable-gopher --disable-file --disable-ftp --disable-smb --prefix=$base/local + make + make install + ) +} + +cd $base/gnurl/ && \ + git pull && \ + cd $base/deployment && \ + build_gnurl |