aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-01-30 17:37:49 -0800
committerGitHub <noreply@github.com>2018-01-30 17:37:49 -0800
commit867a6664a4a21ce8aa6004c41909f1013a54ff99 (patch)
treea8f30efa3678f0a39350759964ca713248175db3
parent577e53345181c0718b8a1054d7e47a37a8e9c113 (diff)
parente649c0a46ad3337ac31442992d631607606ddda8 (diff)
downloadvcpkg-867a6664a4a21ce8aa6004c41909f1013a54ff99.tar.gz
vcpkg-867a6664a4a21ce8aa6004c41909f1013a54ff99.zip
Merge pull request #2653 from ArashPartow/master
Add ExprTk package
-rw-r--r--ports/exprtk/CONTROL3
-rw-r--r--ports/exprtk/copyright8
-rw-r--r--ports/exprtk/portfile.cmake11
3 files changed, 22 insertions, 0 deletions
diff --git a/ports/exprtk/CONTROL b/ports/exprtk/CONTROL
new file mode 100644
index 000000000..2ebcfab28
--- /dev/null
+++ b/ports/exprtk/CONTROL
@@ -0,0 +1,3 @@
+Source: exprtk
+Version: 2018.01.01-f32d2b4
+Description: Simple to use, easy to integrate and extremely efficient run-time C++ mathematical expression parser and evaluation engine.
diff --git a/ports/exprtk/copyright b/ports/exprtk/copyright
new file mode 100644
index 000000000..ee372c989
--- /dev/null
+++ b/ports/exprtk/copyright
@@ -0,0 +1,8 @@
+Copyright 1999-2018 Arash Partow
+http://www.partow.net/programming/exprtk/index.html
+
+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.
diff --git a/ports/exprtk/portfile.cmake b/ports/exprtk/portfile.cmake
new file mode 100644
index 000000000..1178a3e12
--- /dev/null
+++ b/ports/exprtk/portfile.cmake
@@ -0,0 +1,11 @@
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ArashPartow/exprtk
+ REF f32d2b4bbb640ea4732b8a7fce1bd9717e9c998b
+ SHA512 22c977dc2514bd525856ed26b8895687601e79784486efe9d4f27466e1e1932c4a947297d83e9b98a6c82df9eaf5b0f82990741bbb699d565ca11e5755a55dd6
+)
+
+file(COPY ${SOURCE_PATH}/exprtk.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(COPY ${CMAKE_CURRENT_LIST_DIR}/copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/exprtk)