diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/spimpl/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/spimpl/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/spimpl/portfile.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/spimpl/portfile.cmake b/vcpkg/ports/spimpl/portfile.cmake new file mode 100644 index 0000000..a64ac16 --- /dev/null +++ b/vcpkg/ports/spimpl/portfile.cmake @@ -0,0 +1,16 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO oliora/samples + REF 58dead450bdac418fc55dfc512b8411556f51c0e + SHA512 a244364c3a58cb75709861cc8637dadeada0fbb4bc5fc52886a61d52623b3dab75ed5ccd73bed1a4384f66753fc3fd16e8cafde925fce760add084b4fffeca97 + HEAD_REF master +) + +file(INSTALL "${SOURCE_PATH}/spimpl.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}") +file(COPY "${CMAKE_CURRENT_LIST_DIR}/unofficial-spimpl-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/unofficial-${PORT}") + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/spimpl.h") +vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" "[*]/.*" "*/" REGEX) + |