2016-09-18 20:50:08 -07:00
|
|
|
include(vcpkg_common_functions)
|
2016-09-28 17:05:56 -07:00
|
|
|
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/curl-7.48.0)
|
2016-09-18 20:50:08 -07:00
|
|
|
vcpkg_download_distfile(ARCHIVE_FILE
|
2016-09-25 00:23:04 +02:00
|
|
|
URLS "https://curl.haxx.se/download/curl-7.48.0.tar.bz2"
|
2016-09-18 20:50:08 -07:00
|
|
|
FILENAME "curl-7.48.0.tar.bz2"
|
2016-09-22 21:30:58 +02:00
|
|
|
SHA512 9bb554eaf4ccaced0fa9b38de4f381eab84b96c1aa07a45d83ddfd38a925044d0fe9fac517263f67f009d2294a31c33dedb2267defbab0cb14f96091bbed5f92
|
2016-09-18 20:50:08 -07:00
|
|
|
)
|
|
|
|
vcpkg_extract_source_archive(${ARCHIVE_FILE})
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
2016-09-28 17:05:56 -07:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2016-09-18 20:50:08 -07:00
|
|
|
OPTIONS
|
|
|
|
-DBUILD_CURL_TESTS=OFF
|
|
|
|
-DBUILD_CURL_EXE=OFF
|
|
|
|
-DENABLE_MANUAL=OFF
|
|
|
|
OPTIONS_DEBUG
|
|
|
|
-DENABLE_DEBUG=ON
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
2016-09-28 17:05:56 -07:00
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/curl RENAME copyright)
|
2016-09-18 20:50:08 -07:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
vcpkg_copy_pdbs()
|