aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/zpp-bits
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/zpp-bits')
-rw-r--r--vcpkg/ports/zpp-bits/portfile.cmake11
-rw-r--r--vcpkg/ports/zpp-bits/vcpkg.json7
2 files changed, 18 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")
diff --git a/vcpkg/ports/zpp-bits/vcpkg.json b/vcpkg/ports/zpp-bits/vcpkg.json
new file mode 100644
index 0000000..b3a8dbe
--- /dev/null
+++ b/vcpkg/ports/zpp-bits/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "zpp-bits",
+ "version": "4.5",
+ "description": "A lightweight C++20 serialization and RPC library",
+ "homepage": "https://github.com/eyalz800/zpp_bits",
+ "license": "MIT"
+}