mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 21:48:59 +08:00
[mpfr] Add warning message on Linux (#21940)
* [mpfr] Add warning message on Linux * update version * Update portfile.cmake * update version Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
This commit is contained in:
parent
31bf0e4a36
commit
c6e208fccf
@ -1,3 +1,7 @@
|
||||
if (VCPKG_TARGET_IS_LINUX)
|
||||
message(WARNING "${PORT} currently requires the following packages:\n autoconf-archive\n texinfo\nThese can be installed on Ubuntu systems via\n sudo apt-get update -y\n sudo apt-get install -y autoconf-archive texinfo\n")
|
||||
endif()
|
||||
|
||||
set(VERSION 4.1.0)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "http://www.mpfr.org/mpfr-${VERSION}/mpfr-${VERSION}.tar.xz" "https://ftp.gnu.org/gnu/mpfr/mpfr-${VERSION}.tar.xz"
|
||||
@ -15,7 +19,7 @@ vcpkg_extract_source_archive_ex(
|
||||
|
||||
file(REMOVE_RECURSE "${SOURCE_PATH}/m4")
|
||||
vcpkg_configure_make(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
AUTOCONFIG
|
||||
ADDITIONAL_MSYS_PACKAGES texinfo gettext autoconf-archive
|
||||
)
|
||||
@ -32,4 +36,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "mpfr",
|
||||
"version-string": "4.1.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "The MPFR library is a C library for multiple-precision floating-point computations with correct rounding",
|
||||
"homepage": "https://www.mpfr.org",
|
||||
"dependencies": [
|
||||
|
@ -4510,7 +4510,7 @@
|
||||
},
|
||||
"mpfr": {
|
||||
"baseline": "4.1.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"mpg123": {
|
||||
"baseline": "1.29.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "655c136cd8328e30476ae39a3fd5ff99c915907c",
|
||||
"version-string": "4.1.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "54544af431b7f178bc7bbe6604f103c40b7aa93b",
|
||||
"version-string": "4.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user