build-mac/build.sh
author Krista Bennett <krista@pep-project.org>
Tue, 02 Oct 2018 13:22:12 +0200
branchENGINE-463
changeset 2964 4f22b5bc7b9a
parent 1513 e7f7e42385b5
permissions -rw-r--r--
Stupid syntax error.
dirk@531
     1
#!/bin/bash
dirk@531
     2
vb@1513
     3
# This file is under GNU General Public License 3.0
vb@1513
     4
# see LICENSE.txt
vb@1513
     5
dirk@531
     6
#
dirk@531
     7
# Invoke with `sh build.sh`
dirk@531
     8
#
dirk@531
     9
dirk@531
    10
set -e
dirk@531
    11
dirk@531
    12
rm -f libcurl.a
dirk@531
    13
rm -fr curl
dirk@531
    14
dirk@531
    15
wget https://curl.haxx.se/download/curl-7.48.0.tar.gz
dirk@531
    16
gpg2 --verify curl-7.48.0.tar.gz.asc
dirk@531
    17
tar xf curl-7.48.0.tar.gz
dirk@531
    18
pushd curl-7.48.0
dirk@531
    19
bash ../build_libcurl_dist.sh
dirk@531
    20
popd
dirk@531
    21
mv libcurl-ios-dist/lib/libcurl.a .
dirk@531
    22
dirk@531
    23
#exit 1
dirk@531
    24
dirk@531
    25
mv libcurl-ios-dist/include/curl .
dirk@531
    26
rm -fr libcurl-ios-dist/
dirk@531
    27
rm -fr curl-7.48.0
dirk@531
    28
rm curl-7.48.0.tar.gz