mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:08:03 +08:00
[leaf] New port (#7319)
This commit is contained in:
parent
bb163f5ece
commit
da717a44d1
3
ports/leaf/CONTROL
Normal file
3
ports/leaf/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: leaf
|
||||
Version: 0.2.1-1
|
||||
Description: Lightweight error augmentation framework
|
20
ports/leaf/portfile.cmake
Normal file
20
ports/leaf/portfile.cmake
Normal file
@ -0,0 +1,20 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO zajo/leaf
|
||||
REF 5fd08ee095c92b2bf4623b7237393e81f995ca7a
|
||||
SHA512 92b86dbba55d31808f442d27dd873dce1162b28213533e124df448ae4f7b4442733501b6539ab15f67a85e184e458a66df4e4e020a3a213b44578ebbde281a42
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/leaf RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user