diff --git a/ports/readline-unix/portfile.cmake b/ports/readline-unix/portfile.cmake index 8951f96edfd..68d50ff030a 100644 --- a/ports/readline-unix/portfile.cmake +++ b/ports/readline-unix/portfile.cmake @@ -1,22 +1,27 @@ +vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION} +set(filename readline-${VERSION}.tar.gz) vcpkg_download_distfile( - ARCHIVE - URLS https://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz - FILENAME readline-8.1.tar.gz - SHA512 27790d0461da3093a7fee6e89a51dcab5dc61928ec42e9228ab36493b17220641d5e481ea3d8fee5ee0044c70bf960f55c7d3f1a704cf6b9c42e5c269b797e00 + ARCHIVE + URLS + "https://ftpmirror.gnu.org/gnu/readline/${filename}" + "https://ftp.gnu.org/gnu/readline/${filename}" + FILENAME "${filename}" + SHA512 0a451d459146bfdeecc9cdd94bda6a6416d3e93abd80885a40b334312f16eb890f8618a27ca26868cebbddf1224983e631b1cbc002c1a4d1cd0d65fba9fea49a ) vcpkg_extract_source_archive(SOURCE_PATH ARCHIVE "${ARCHIVE}") vcpkg_configure_make( SOURCE_PATH "${SOURCE_PATH}" + DETERMINE_BUILD_TRIPLET OPTIONS --with-curses=yes + --disable-install-examples ) vcpkg_install_make() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/tools/readline-unix/bin" "${CURRENT_PACKAGES_DIR}/tools/readline-unix/debug/bin") vcpkg_fixup_pkgconfig() diff --git a/ports/readline-unix/vcpkg.json b/ports/readline-unix/vcpkg.json index 721acc13b11..99e9f2142e6 100644 --- a/ports/readline-unix/vcpkg.json +++ b/ports/readline-unix/vcpkg.json @@ -1,8 +1,8 @@ { "name": "readline-unix", - "version": "8.1", - "port-version": 2, - "description": "Implementation of readline for unix", + "version": "8.2", + "description": "The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in.", + "homepage": "https://tiswww.case.edu/php/chet/readline/rltop.html", "license": "GPL-3.0-or-later", "supports": "!windows", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index fe72e855e7a..d5a3bfcaa51 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6529,8 +6529,8 @@ "port-version": 0 }, "readline-unix": { - "baseline": "8.1", - "port-version": 2 + "baseline": "8.2", + "port-version": 0 }, "readline-win32": { "baseline": "5.0", diff --git a/versions/r-/readline-unix.json b/versions/r-/readline-unix.json index 442ccc2dfe5..e27d0632d25 100644 --- a/versions/r-/readline-unix.json +++ b/versions/r-/readline-unix.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "19fcd2b764ea6d261dfbd80961833e807cf93ea0", + "version": "8.2", + "port-version": 0 + }, { "git-tree": "e81a9fe4baa7c437b6e6d9636ae7c291e2ed81e9", "version": "8.1",