aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/zpp-bits/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/zpp-bits/portfile.cmake')
-rw-r--r--vcpkg/ports/zpp-bits/portfile.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/zpp-bits/portfile.cmake b/vcpkg/ports/zpp-bits/portfile.cmake
new file mode 100644
index 0000000..b7824fb
--- /dev/null
+++ b/vcpkg/ports/zpp-bits/portfile.cmake
@@ -0,0 +1,11 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO eyalz800/zpp_bits
+ REF "v${VERSION}"
+ SHA512 db3e036a1452b551155ee204ce7e3e6b6a7ab7116142fe434004cdb8d4c910afc9aaed4c3d1d4c831e0c4183a5d9a989d3e538b496d4ef68d1a15684f347c645
+ HEAD_REF master
+)
+
+file(INSTALL "${SOURCE_PATH}/zpp_bits.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")