aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/iguana
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/iguana')
-rw-r--r--vcpkg/ports/iguana/portfile.cmake16
-rw-r--r--vcpkg/ports/iguana/vcpkg.json10
2 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/iguana/portfile.cmake b/vcpkg/ports/iguana/portfile.cmake
new file mode 100644
index 0000000..44c40a7
--- /dev/null
+++ b/vcpkg/ports/iguana/portfile.cmake
@@ -0,0 +1,16 @@
+set(VCPKG_BUILD_TYPE "release") # header-only port
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO qicosmos/iguana
+ REF "${VERSION}"
+ SHA512 278d96bc3586104904c91bd62c5579b1db6a844ab5ef64ba3853f55bd04852cf7c035e4c88211bbab3348fba662edab5e6fd1df0d113d41cfed7b455467f9fb3
+ HEAD_REF master
+)
+
+file(INSTALL
+ "${SOURCE_PATH}/iguana"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/include"
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/iguana/vcpkg.json b/vcpkg/ports/iguana/vcpkg.json
new file mode 100644
index 0000000..32cef18
--- /dev/null
+++ b/vcpkg/ports/iguana/vcpkg.json
@@ -0,0 +1,10 @@
+{
+ "name": "iguana",
+ "version": "1.0.9",
+ "description": "Header-only C++ serialization library used by Cinatra.",
+ "homepage": "https://github.com/qicosmos/iguana",
+ "license": "Apache-2.0",
+ "dependencies": [
+ "protobuf"
+ ]
+}