build-mac/build.sh
author Krista Grothoff <krista@pep-project.org>
Wed, 23 Nov 2016 15:38:27 +0100
branchENGINE-74
changeset 1428 aefb57561f8e
parent 531 a7cc26cc39f2
child 1513 e7f7e42385b5
permissions -rw-r--r--
Merged in default
dirk@531
     1
#!/bin/bash
dirk@531
     2
dirk@531
     3
#
dirk@531
     4
# Invoke with `sh build.sh`
dirk@531
     5
#
dirk@531
     6
dirk@531
     7
set -e
dirk@531
     8
dirk@531
     9
rm -f libcurl.a
dirk@531
    10
rm -fr curl
dirk@531
    11
dirk@531
    12
wget https://curl.haxx.se/download/curl-7.48.0.tar.gz
dirk@531
    13
gpg2 --verify curl-7.48.0.tar.gz.asc
dirk@531
    14
tar xf curl-7.48.0.tar.gz
dirk@531
    15
pushd curl-7.48.0
dirk@531
    16
bash ../build_libcurl_dist.sh
dirk@531
    17
popd
dirk@531
    18
mv libcurl-ios-dist/lib/libcurl.a .
dirk@531
    19
dirk@531
    20
#exit 1
dirk@531
    21
dirk@531
    22
mv libcurl-ios-dist/include/curl .
dirk@531
    23
rm -fr libcurl-ios-dist/
dirk@531
    24
rm -fr curl-7.48.0
dirk@531
    25
rm curl-7.48.0.tar.gz