mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
linenoise init
This commit is contained in:
parent
0c5b3ae225
commit
606d14359d
3
ports/linenoise-ng/CONTROL
Normal file
3
ports/linenoise-ng/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: linenoise-ng
|
||||
Version: 4754bee2d8eb3
|
||||
Description: A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters.
|
22
ports/linenoise-ng/portfile.cmake
Normal file
22
ports/linenoise-ng/portfile.cmake
Normal file
@ -0,0 +1,22 @@
|
||||
include(vcpkg_common_functions)
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO arangodb/linenoise-ng
|
||||
REF 4754bee2d8eb3c4511e6ac87cac62255b2011e2f
|
||||
SHA512 080c6b4cde911a162885a2e6fc95143ab481b4dcc0f8b871a55a071ccb4ab868b19201ec17475a3c3ceef1b82325d757913383b3c46da6946ddc8bfc0d82d9ca
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/linenoise-ng RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user