From 528088d25d6ab5ed221e5288e688f264bf1a054d Mon Sep 17 00:00:00 2001 From: Mikhail Paulyshka Date: Tue, 23 May 2017 01:41:58 +0300 Subject: [PATCH] [strtk] add version 2017.01.02 --- ports/strtk/CONTROL | 4 ++++ ports/strtk/copyright | 7 +++++++ ports/strtk/portfile.cmake | 11 +++++++++++ 3 files changed, 22 insertions(+) create mode 100644 ports/strtk/CONTROL create mode 100644 ports/strtk/copyright create mode 100644 ports/strtk/portfile.cmake diff --git a/ports/strtk/CONTROL b/ports/strtk/CONTROL new file mode 100644 index 00000000000..a1d1b5e4491 --- /dev/null +++ b/ports/strtk/CONTROL @@ -0,0 +1,4 @@ +Source: strtk +Version: 2017.01.02-1e2960f +Description: robust, optimized and portable string processing algorithms for the C++ language +Build-Depends: boost \ No newline at end of file diff --git a/ports/strtk/copyright b/ports/strtk/copyright new file mode 100644 index 00000000000..f9418e2153c --- /dev/null +++ b/ports/strtk/copyright @@ -0,0 +1,7 @@ +Copyright 2010-2017 Arash Partow + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/ports/strtk/portfile.cmake b/ports/strtk/portfile.cmake new file mode 100644 index 00000000000..6122da89776 --- /dev/null +++ b/ports/strtk/portfile.cmake @@ -0,0 +1,11 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO ArashPartow/strtk + REF 1e2960fd55918532dd96aed6a4b9cc6ee8f2e3c5 + SHA512 89b3d40dbdf66a21a38005f3d878e039f2e59c378aac13077ce183b495e903aeebd5f99ce4fbb892cf69503e5e7bf560498e65769f2f67d722262c0cf22fe74e +) + +file(COPY ${SOURCE_PATH}/strtk.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(COPY ${CMAKE_CURRENT_LIST_DIR}/copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/strtk)