mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-10 16:59:01 +08:00
2aa0d83ee7
* [gmp] use native buildsystem on windows * fix stuff from merge * fix version * version stuff * trying patching some symbols for dynamic builds * fix nettle build * fix more dependent ports using gmpd * fix uwp builds by copying tools * missing host dep * fix mpfr * version-string nettle * port-version mpfr * version stuff * remove patch from portfile * version stuff Co-authored-by: Alexander Neumann <you@example.com>
27 lines
754 B
CMake
27 lines
754 B
CMake
vcpkg_download_distfile(ARCHIVE
|
|
URLS "https://ftp.gnu.org/gnu/mpc/mpc-1.2.0.tar.gz"
|
|
FILENAME "mpc-1.2.0.tar.gz"
|
|
SHA512 84fa3338f51d369111456a63ad040256a1beb70699e21e2a932c779aa1c3bd08b201412c1659ecbb58403ea0548faacc35996d94f88f0639549269b7563c61b7
|
|
)
|
|
|
|
vcpkg_extract_source_archive_ex(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
ARCHIVE ${ARCHIVE}
|
|
)
|
|
|
|
vcpkg_configure_make(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
AUTOCONFIG
|
|
)
|
|
|
|
vcpkg_install_make()
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
|
|
# # Handle copyright
|
|
file(INSTALL "${SOURCE_PATH}/COPYING.LESSER" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|