mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 10:37:10 +01:00
[greatest] Add new port (#6934)
This commit is contained in:
parent
8cd2d17460
commit
d2e21397f4
4
ports/greatest/CONTROL
Normal file
4
ports/greatest/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: greatest
|
||||
Version: 1.4.2
|
||||
Description: Single-file testing system for C
|
||||
Homepage: https://github.com/silentbicycle/greatest
|
16
ports/greatest/portfile.cmake
Normal file
16
ports/greatest/portfile.cmake
Normal file
@ -0,0 +1,16 @@
|
||||
# header-only library
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO silentbicycle/greatest
|
||||
REF v1.4.2
|
||||
SHA512 8f2767ac2be017d2ecee3a903ab79834e783df464e3fd0e1e8c4397fdf8dabcc4fb2367163dcb9e944c404d00cf8960ec56c0345f43836182a6e058d9eaf6b0a
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY ${SOURCE_PATH}/greatest.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
||||
|
||||
# Handle copyright
|
||||
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
Loading…
x
Reference in New Issue
Block a user