From b500a0dc22786353f60432a50e719b6df307666c Mon Sep 17 00:00:00 2001 From: myd7349 Date: Sun, 28 Apr 2019 21:13:09 -0500 Subject: [PATCH] [nonius] Add new port (#6238) * [nonius] Add new port * [nonius] Dependencies --- ports/nonius/CONTROL | 4 ++++ ports/nonius/portfile.cmake | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 ports/nonius/CONTROL create mode 100644 ports/nonius/portfile.cmake diff --git a/ports/nonius/CONTROL b/ports/nonius/CONTROL new file mode 100644 index 000000000..3c321bf4e --- /dev/null +++ b/ports/nonius/CONTROL @@ -0,0 +1,4 @@ +Source: nonius +Version: 2019-04-20 +Description: A C++ micro-benchmarking framework +Build-Depends: boost-algorithm, boost-lexical-cast, boost-math diff --git a/ports/nonius/portfile.cmake b/ports/nonius/portfile.cmake new file mode 100644 index 000000000..5762797cd --- /dev/null +++ b/ports/nonius/portfile.cmake @@ -0,0 +1,16 @@ +# header-only library + +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO libnonius/nonius + REF 6396b7ad6685843eea63754ffa567dd66353c1a8 + SHA512 3b824a6011f1dbe116271dd76e8214ed98d73dfc215d7c9242bf298eb0e7ee3a3e3198f477b49fdbe098ac6e3e4edd8ca7bd2e03cc2036189bf3630ef3fcdca2 + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/include/${PORT} DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +configure_file(${SOURCE_PATH}/COPYING.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)