From 8f1d08d00b3d83d23224585dc28c0468c0f65ffa Mon Sep 17 00:00:00 2001 From: Daniel Marshall Date: Fri, 24 May 2019 23:15:22 +0100 Subject: [PATCH] [clipp] Add new port (#6612) --- ports/clipp/CONTROL | 3 +++ ports/clipp/portfile.cmake | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 ports/clipp/CONTROL create mode 100644 ports/clipp/portfile.cmake diff --git a/ports/clipp/CONTROL b/ports/clipp/CONTROL new file mode 100644 index 0000000000..ed8084936b --- /dev/null +++ b/ports/clipp/CONTROL @@ -0,0 +1,3 @@ +Source: clipp +Version: 2019-04-30 +Description: command line interfaces for modern C++ \ No newline at end of file diff --git a/ports/clipp/portfile.cmake b/ports/clipp/portfile.cmake new file mode 100644 index 0000000000..ff86dbb3f2 --- /dev/null +++ b/ports/clipp/portfile.cmake @@ -0,0 +1,19 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO "muellan/clipp" + REF 2c32b2f1f7cc530b1ec1f62c92f698643bb368db + SHA512 4645fafe85a8099ea97b85e939747a12e9b3b92213b5b8207a9c277537377b77b5daebd88a4c090ea89cfff2937a9fc155da6e8b5558574d7129227c28826e1c + HEAD_REF master +) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA +) + +vcpkg_install_cmake() + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug) +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/clipp RENAME copyright)