mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:06:49 +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(
|
vcpkg_download_distfile(
|
||||||
ARCHIVE
|
ARCHIVE
|
||||||
URLS https://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz
|
URLS
|
||||||
FILENAME readline-8.1.tar.gz
|
"https://ftpmirror.gnu.org/gnu/readline/${filename}"
|
||||||
SHA512 27790d0461da3093a7fee6e89a51dcab5dc61928ec42e9228ab36493b17220641d5e481ea3d8fee5ee0044c70bf960f55c7d3f1a704cf6b9c42e5c269b797e00
|
"https://ftp.gnu.org/gnu/readline/${filename}"
|
||||||
|
FILENAME "${filename}"
|
||||||
|
SHA512 0a451d459146bfdeecc9cdd94bda6a6416d3e93abd80885a40b334312f16eb890f8618a27ca26868cebbddf1224983e631b1cbc002c1a4d1cd0d65fba9fea49a
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_extract_source_archive(SOURCE_PATH ARCHIVE "${ARCHIVE}")
|
vcpkg_extract_source_archive(SOURCE_PATH ARCHIVE "${ARCHIVE}")
|
||||||
|
|
||||||
vcpkg_configure_make(
|
vcpkg_configure_make(
|
||||||
SOURCE_PATH "${SOURCE_PATH}"
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
|
DETERMINE_BUILD_TRIPLET
|
||||||
OPTIONS
|
OPTIONS
|
||||||
--with-curses=yes
|
--with-curses=yes
|
||||||
|
--disable-install-examples
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_make()
|
vcpkg_install_make()
|
||||||
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
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()
|
vcpkg_fixup_pkgconfig()
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "readline-unix",
|
"name": "readline-unix",
|
||||||
"version": "8.1",
|
"version": "8.2",
|
||||||
"port-version": 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.",
|
||||||
"description": "Implementation of readline for unix",
|
"homepage": "https://tiswww.case.edu/php/chet/readline/rltop.html",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"supports": "!windows",
|
"supports": "!windows",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -6529,8 +6529,8 @@
|
|||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"readline-unix": {
|
"readline-unix": {
|
||||||
"baseline": "8.1",
|
"baseline": "8.2",
|
||||||
"port-version": 2
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"readline-win32": {
|
"readline-win32": {
|
||||||
"baseline": "5.0",
|
"baseline": "5.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "19fcd2b764ea6d261dfbd80961833e807cf93ea0",
|
||||||
|
"version": "8.2",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "e81a9fe4baa7c437b6e6d9636ae7c291e2ed81e9",
|
"git-tree": "e81a9fe4baa7c437b6e6d9636ae7c291e2ed81e9",
|
||||||
"version": "8.1",
|
"version": "8.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user