build-mac/build.sh
changeset 531 a7cc26cc39f2
child 1513 e7f7e42385b5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/build-mac/build.sh	Wed Apr 20 15:40:00 2016 +0200
     1.3 @@ -0,0 +1,25 @@
     1.4 +#!/bin/bash
     1.5 +
     1.6 +#
     1.7 +# Invoke with `sh build.sh`
     1.8 +#
     1.9 +
    1.10 +set -e
    1.11 +
    1.12 +rm -f libcurl.a
    1.13 +rm -fr curl
    1.14 +
    1.15 +wget https://curl.haxx.se/download/curl-7.48.0.tar.gz
    1.16 +gpg2 --verify curl-7.48.0.tar.gz.asc
    1.17 +tar xf curl-7.48.0.tar.gz
    1.18 +pushd curl-7.48.0
    1.19 +bash ../build_libcurl_dist.sh
    1.20 +popd
    1.21 +mv libcurl-ios-dist/lib/libcurl.a .
    1.22 +
    1.23 +#exit 1
    1.24 +
    1.25 +mv libcurl-ios-dist/include/curl .
    1.26 +rm -fr libcurl-ios-dist/
    1.27 +rm -fr curl-7.48.0
    1.28 +rm curl-7.48.0.tar.gz