build-mac/build.sh
author Edouard Tisserant
Tue, 27 Sep 2016 21:58:54 +0200
branchkeysync
changeset 1204 e0859bbaf844
parent 531 a7cc26cc39f2
child 1513 e7f7e42385b5
permissions -rw-r--r--
merge
     1 #!/bin/bash
     2 
     3 #
     4 # Invoke with `sh build.sh`
     5 #
     6 
     7 set -e
     8 
     9 rm -f libcurl.a
    10 rm -fr curl
    11 
    12 wget https://curl.haxx.se/download/curl-7.48.0.tar.gz
    13 gpg2 --verify curl-7.48.0.tar.gz.asc
    14 tar xf curl-7.48.0.tar.gz
    15 pushd curl-7.48.0
    16 bash ../build_libcurl_dist.sh
    17 popd
    18 mv libcurl-ios-dist/lib/libcurl.a .
    19 
    20 #exit 1
    21 
    22 mv libcurl-ios-dist/include/curl .
    23 rm -fr libcurl-ios-dist/
    24 rm -fr curl-7.48.0
    25 rm curl-7.48.0.tar.gz