vcpkg/ports/hypodermic/portfile.cmake
Lassi 25e38b64d3
[hypodermic] added version 2.5.3, updated baseline (#20414)
* added 2.5.3, updated baseline

* added quotes and fixed how license installation is done

* updated portfile based on bots recommendations

* Change version-semver to version.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-30 15:45:01 -07:00

22 lines
675 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ybainier/Hypodermic
REF 0e0d85d70aa2f2391dfd84f8af4a3863d4fb1611 # v2.5.3
SHA512 6fc3f9eca034a4de3f7086bd51e9ba11ee31c8ec000a3e0bdfc06db1f3c12a89b66793adf5d219441e680541e26acaef72d21f9dd0acf3f5fee3aa12d3fb7b4d
HEAD_REF master
PATCHES
"disable_hypodermic_tests.patch"
)
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH})
vcpkg_cmake_install()
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/lib"
"${CURRENT_PACKAGES_DIR}/debug"
)
# Put the license file where vcpkg expects it
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)