p≡p engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
471 B

  1. #!/bin/bash
  2. # This file is under GNU General Public License 3.0
  3. # see LICENSE.txt
  4. #
  5. # Invoke with `sh build.sh`
  6. #
  7. set -e
  8. rm -f libcurl.a
  9. rm -fr curl
  10. wget https://curl.haxx.se/download/curl-7.48.0.tar.gz
  11. gpg2 --verify curl-7.48.0.tar.gz.asc
  12. tar xf curl-7.48.0.tar.gz
  13. pushd curl-7.48.0
  14. bash ../build_libcurl_dist.sh
  15. popd
  16. mv libcurl-ios-dist/lib/libcurl.a .
  17. #exit 1
  18. mv libcurl-ios-dist/include/curl .
  19. rm -fr libcurl-ios-dist/
  20. rm -fr curl-7.48.0
  21. rm curl-7.48.0.tar.gz