mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-23 11:19:43 +00:00
[ring-span-lite] Add new port (0.3.0)
This commit is contained in:
parent
69d3605204
commit
34984a7680
3
ports/ring-span-lite/CONTROL
Normal file
3
ports/ring-span-lite/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: ring-span-lite
|
||||
Version: 0.3.0
|
||||
Description: A C++yy-like ring_span type for C++98, C++11 and later in a single-file header-only library
|
31
ports/ring-span-lite/portfile.cmake
Normal file
31
ports/ring-span-lite/portfile.cmake
Normal file
@ -0,0 +1,31 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO martinmoene/ring-span-lite
|
||||
REF v0.3.0
|
||||
SHA512 5ecbfc63b4a09cc382edc2acae41a45946c9c6a18aa48e855201366b7696df7cbf46c2de1b5aa5296ae2dde4360d5abd8efdc3e3a1c3d427fbbddadab7dcfe79
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DRING_SPAN_LITE_OPT_BUILD_TESTS=OFF
|
||||
-DRING_SPAN_LITE_OPT_BUILD_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(
|
||||
CONFIG_PATH lib/cmake/${PORT}
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
${CURRENT_PACKAGES_DIR}/debug
|
||||
${CURRENT_PACKAGES_DIR}/lib
|
||||
)
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright
|
||||
)
|
Loading…
Reference in New Issue
Block a user