mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 13:49:39 +08:00
23 lines
664 B
CMake
23 lines
664 B
CMake
vcpkg_download_distfile(
|
|
ARCHIVE
|
|
URLS https://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz
|
|
FILENAME readline-8.1.tar.gz
|
|
SHA512 27790d0461da3093a7fee6e89a51dcab5dc61928ec42e9228ab36493b17220641d5e481ea3d8fee5ee0044c70bf960f55c7d3f1a704cf6b9c42e5c269b797e00
|
|
)
|
|
|
|
vcpkg_extract_source_archive(SOURCE_PATH ARCHIVE "${ARCHIVE}")
|
|
|
|
vcpkg_configure_make(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
--with-curses=yes
|
|
)
|
|
|
|
vcpkg_install_make()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|