aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/itlib
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/itlib')
-rw-r--r--vcpkg/ports/itlib/portfile.cmake13
-rw-r--r--vcpkg/ports/itlib/vcpkg.json7
2 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/itlib/portfile.cmake b/vcpkg/ports/itlib/portfile.cmake
new file mode 100644
index 0000000..26773cd
--- /dev/null
+++ b/vcpkg/ports/itlib/portfile.cmake
@@ -0,0 +1,13 @@
+# Header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO iboB/itlib
+ REF "v${VERSION}"
+ SHA512 1fe8da43b29b56b555f474ba5f57629a76d7c42e10359fa4313e33bb8c1ec02db5365e82d18a858ed8de33b959ed451e4fbfbd23d179d8e4da5f1832da8ef127
+ HEAD_REF master
+)
+
+file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/include")
+file(INSTALL "${SOURCE_PATH}/include/itlib" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
diff --git a/vcpkg/ports/itlib/vcpkg.json b/vcpkg/ports/itlib/vcpkg.json
new file mode 100644
index 0000000..20db3c3
--- /dev/null
+++ b/vcpkg/ports/itlib/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "itlib",
+ "version": "1.11.8",
+ "description": "A collection of std-like single-header C++ libraries.",
+ "homepage": "https://github.com/iboB/itlib",
+ "license": "MIT"
+}