aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mexce
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/mexce')
-rw-r--r--vcpkg/ports/mexce/portfile.cmake11
-rw-r--r--vcpkg/ports/mexce/vcpkg.json8
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/mexce/portfile.cmake b/vcpkg/ports/mexce/portfile.cmake
new file mode 100644
index 0000000..09dcb87
--- /dev/null
+++ b/vcpkg/ports/mexce/portfile.cmake
@@ -0,0 +1,11 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO imakris/mexce
+ REF "v${VERSION}"
+ SHA512 325FE93D7D1C49BAABDFC522E7D37266A087BB0D33221E30A972F09AA5FC0BCFDCF8462676D85CD703C1A9C32D26B0C30CA4A68C5F250ACB34272306E4B890B5
+ HEAD_REF master
+)
+
+file(INSTALL "${SOURCE_PATH}/mexce.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
diff --git a/vcpkg/ports/mexce/vcpkg.json b/vcpkg/ports/mexce/vcpkg.json
new file mode 100644
index 0000000..38954ce
--- /dev/null
+++ b/vcpkg/ports/mexce/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "name": "mexce",
+ "version": "1.0.0",
+ "description": "Header-only JIT compiler for scalar mathematical expressions.",
+ "homepage": "https://github.com/imakris/mexce",
+ "license": "BSD-2-Clause",
+ "supports": "(windows | linux) & (x86 | x64)"
+}