2016-08-03 18:50:27 +03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
shopt -s dotglob
|
|
|
|
|
|
|
|
readonly name="curl"
|
|
|
|
readonly ownership="Curl Upstream <curl-library@cool.haxx.se>"
|
|
|
|
readonly subtree="Utilities/cmcurl"
|
2016-08-26 15:32:23 +03:00
|
|
|
readonly repo="https://github.com/curl/curl.git"
|
2016-08-03 18:55:15 +03:00
|
|
|
readonly tag="curl-7_50_1"
|
2016-08-03 18:50:27 +03:00
|
|
|
readonly shortlog=false
|
|
|
|
readonly paths="
|
|
|
|
CMake/*
|
|
|
|
CMakeLists.txt
|
|
|
|
COPYING
|
|
|
|
include/curl/*.h
|
|
|
|
include/curl/curlbuild.h.cmake
|
|
|
|
lib/*.c
|
|
|
|
lib/*.h
|
|
|
|
lib/CMakeLists.txt
|
|
|
|
lib/Makefile.inc
|
|
|
|
lib/curl_config.h.cmake
|
|
|
|
lib/libcurl.rc
|
2016-08-03 18:55:15 +03:00
|
|
|
lib/vauth/*.c
|
|
|
|
lib/vauth/*.h
|
2016-08-03 18:50:27 +03:00
|
|
|
lib/vtls/*.c
|
|
|
|
lib/vtls/*.h
|
|
|
|
"
|
|
|
|
|
|
|
|
extract_source () {
|
|
|
|
git_archive
|
|
|
|
pushd "${extractdir}/${name}-reduced"
|
|
|
|
rm lib/config-*.h
|
|
|
|
popd
|
|
|
|
}
|
|
|
|
|
|
|
|
. "${BASH_SOURCE%/*}/update-third-party.bash"
|