[mpc] update to 1.3.1 (#34162)

This commit is contained in:
Jia Yue Hua 2023-10-03 11:07:32 +08:00 committed by GitHub
parent 9e5851e41e
commit 8f276a5d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 30 deletions

View File

@ -1,26 +1,24 @@
vcpkg_download_distfile(ARCHIVE vcpkg_download_distfile(ARCHIVE
URLS "https://ftp.gnu.org/gnu/mpc/mpc-1.2.0.tar.gz" URLS "https://ftp.gnu.org/gnu/mpc/mpc-${VERSION}.tar.gz"
FILENAME "mpc-1.2.0.tar.gz" FILENAME "mpc-${VERSION}.tar.gz"
SHA512 84fa3338f51d369111456a63ad040256a1beb70699e21e2a932c779aa1c3bd08b201412c1659ecbb58403ea0548faacc35996d94f88f0639549269b7563c61b7 SHA512 4bab4ef6076f8c5dfdc99d810b51108ced61ea2942ba0c1c932d624360a5473df20d32b300fc76f2ba4aa2a97e1f275c9fd494a1ba9f07c4cb2ad7ceaeb1ae97
) )
vcpkg_extract_source_archive( vcpkg_extract_source_archive(
SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE} ARCHIVE ${ARCHIVE}
) )
vcpkg_configure_make( vcpkg_configure_make(
SOURCE_PATH "${SOURCE_PATH}" SOURCE_PATH "${SOURCE_PATH}"
AUTOCONFIG AUTOCONFIG
) )
vcpkg_install_make() vcpkg_install_make()
vcpkg_fixup_pkgconfig() vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
# # Handle copyright file(INSTALL "${SOURCE_PATH}/COPYING.LESSER" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(INSTALL "${SOURCE_PATH}/COPYING.LESSER" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,7 +1,6 @@
{ {
"name": "mpc", "name": "mpc",
"version": "1.2.0", "version": "1.3.1",
"port-version": 3,
"description": "GNU MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.", "description": "GNU MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.",
"homepage": "http://www.multiprecision.org/mpc/", "homepage": "http://www.multiprecision.org/mpc/",
"dependencies": [ "dependencies": [

View File

@ -5549,8 +5549,8 @@
"port-version": 3 "port-version": 3
}, },
"mpc": { "mpc": {
"baseline": "1.2.0", "baseline": "1.3.1",
"port-version": 3 "port-version": 0
}, },
"mpfr": { "mpfr": {
"baseline": "4.2.1", "baseline": "4.2.1",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "741646f873002e3a712397c3f91b8e4f5b99ded4",
"version": "1.3.1",
"port-version": 0
},
{ {
"git-tree": "ac9e33d7db3d83459eeadc2c47a6dea8d3358dc0", "git-tree": "ac9e33d7db3d83459eeadc2c47a6dea8d3358dc0",
"version": "1.2.0", "version": "1.2.0",