build-mac/build.sh
author Volker Birk <vb@pep-project.org>
Wed, 27 Mar 2019 20:17:29 +0100
branchsync
changeset 3407 dabc9c3b13e6
parent 1513 e7f7e42385b5
permissions -rw-r--r--
adding param to deliverHandshakeResult
     1 #!/bin/bash
     2 
     3 # This file is under GNU General Public License 3.0
     4 # see LICENSE.txt
     5 
     6 #
     7 # Invoke with `sh build.sh`
     8 #
     9 
    10 set -e
    11 
    12 rm -f libcurl.a
    13 rm -fr curl
    14 
    15 wget https://curl.haxx.se/download/curl-7.48.0.tar.gz
    16 gpg2 --verify curl-7.48.0.tar.gz.asc
    17 tar xf curl-7.48.0.tar.gz
    18 pushd curl-7.48.0
    19 bash ../build_libcurl_dist.sh
    20 popd
    21 mv libcurl-ios-dist/lib/libcurl.a .
    22 
    23 #exit 1
    24 
    25 mv libcurl-ios-dist/include/curl .
    26 rm -fr libcurl-ios-dist/
    27 rm -fr curl-7.48.0
    28 rm curl-7.48.0.tar.gz