mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 01:24:47 +08:00
Update readline-unix (#27911)
This commit is contained in:
parent
7432ae01e9
commit
61a5041d72
@ -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()
|
||||
|
||||
|
@ -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": [
|
||||
|
@ -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",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "19fcd2b764ea6d261dfbd80961833e807cf93ea0",
|
||||
"version": "8.2",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "e81a9fe4baa7c437b6e6d9636ae7c291e2ed81e9",
|
||||
"version": "8.1",
|
||||
|
Loading…
Reference in New Issue
Block a user