aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/clara
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/clara')
-rw-r--r--vcpkg/ports/clara/portfile.cmake10
-rw-r--r--vcpkg/ports/clara/vcpkg.json7
2 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/clara/portfile.cmake b/vcpkg/ports/clara/portfile.cmake
new file mode 100644
index 0000000..7b47998
--- /dev/null
+++ b/vcpkg/ports/clara/portfile.cmake
@@ -0,0 +1,10 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO philsquared/Clara
+ REF v1.1.5
+ SHA512 10aed7452eaf95c785899086118181615d29496d9f6e5b7054005b565afb642fcdf18b87ebb2dae4e9e365c434be9463c1a5d1a4c4ab17b95a87b89a7f7e3b08
+ HEAD_REF master
+)
+file(INSTALL ${SOURCE_PATH}/single_include/clara.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(INSTALL ${SOURCE_PATH}/single_include/clara.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/clara RENAME copyright)
+vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/vcpkg/ports/clara/vcpkg.json b/vcpkg/ports/clara/vcpkg.json
new file mode 100644
index 0000000..83def79
--- /dev/null
+++ b/vcpkg/ports/clara/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "clara",
+ "version": "1.1.5",
+ "port-version": 2,
+ "description": "A simple to use command line parser for C++",
+ "homepage": "https://github.com/philsquared/Clara"
+}