aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/hypodermic/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/hypodermic/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/hypodermic/portfile.cmake')
-rw-r--r--vcpkg/ports/hypodermic/portfile.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/hypodermic/portfile.cmake b/vcpkg/ports/hypodermic/portfile.cmake
new file mode 100644
index 0000000..6d93ec8
--- /dev/null
+++ b/vcpkg/ports/hypodermic/portfile.cmake
@@ -0,0 +1,22 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ybainier/Hypodermic
+ REF ba5516d4e78230c1187debb01ebdf01e5d11f62d # 2023-03-03
+ SHA512 40a119baafc23149117e286c38c00bdc0debda1cb6fefbecfdbc6e1a779789c6c884d1e7513aaf55060d550232c3dc8777ef0ebf0cd94e998ff2d5d6d375d2ff
+ 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) \ No newline at end of file