mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 23:49:16 +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)
|
set(VERSION 4.1.0)
|
||||||
vcpkg_download_distfile(ARCHIVE
|
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"
|
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")
|
file(REMOVE_RECURSE "${SOURCE_PATH}/m4")
|
||||||
vcpkg_configure_make(
|
vcpkg_configure_make(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
AUTOCONFIG
|
AUTOCONFIG
|
||||||
ADDITIONAL_MSYS_PACKAGES texinfo gettext autoconf-archive
|
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")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||||
|
|
||||||
# Handle copyright
|
# 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",
|
"name": "mpfr",
|
||||||
"version-string": "4.1.0",
|
"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",
|
"description": "The MPFR library is a C library for multiple-precision floating-point computations with correct rounding",
|
||||||
"homepage": "https://www.mpfr.org",
|
"homepage": "https://www.mpfr.org",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -4510,7 +4510,7 @@
|
|||||||
},
|
},
|
||||||
"mpfr": {
|
"mpfr": {
|
||||||
"baseline": "4.1.0",
|
"baseline": "4.1.0",
|
||||||
"port-version": 1
|
"port-version": 2
|
||||||
},
|
},
|
||||||
"mpg123": {
|
"mpg123": {
|
||||||
"baseline": "1.29.2",
|
"baseline": "1.29.2",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "655c136cd8328e30476ae39a3fd5ff99c915907c",
|
||||||
|
"version-string": "4.1.0",
|
||||||
|
"port-version": 2
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "54544af431b7f178bc7bbe6604f103c40b7aa93b",
|
"git-tree": "54544af431b7f178bc7bbe6604f103c40b7aa93b",
|
||||||
"version-string": "4.1.0",
|
"version-string": "4.1.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user