aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/sigmatch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/sigmatch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/sigmatch')
-rw-r--r--vcpkg/ports/sigmatch/portfile.cmake22
-rw-r--r--vcpkg/ports/sigmatch/vcpkg.json18
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/sigmatch/portfile.cmake b/vcpkg/ports/sigmatch/portfile.cmake
new file mode 100644
index 0000000..afe05cc
--- /dev/null
+++ b/vcpkg/ports/sigmatch/portfile.cmake
@@ -0,0 +1,22 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO SpriteOvO/sigmatch
+ REF v0.2.0
+ SHA512 a2ae12bf2da4de4b4b65f443febca8bec5ded2cdcbfe5c166538869431558241883576fed04fc373b60fe5b5709c96a56110181d3b1c07dbb42ecfdddae74c06
+ HEAD_REF main
+)
+
+set(VCPKG_BUILD_TYPE release) # header-only
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DSIGMATCH_BUILD_TESTS=OFF
+)
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/sigmatch)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
diff --git a/vcpkg/ports/sigmatch/vcpkg.json b/vcpkg/ports/sigmatch/vcpkg.json
new file mode 100644
index 0000000..bf71d5a
--- /dev/null
+++ b/vcpkg/ports/sigmatch/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "sigmatch",
+ "version": "0.2.0",
+ "description": "Modern C++ 20 signature match / search library",
+ "homepage": "https://github.com/SpriteOvO/sigmatch",
+ "license": "Apache-2.0",
+ "supports": "windows & !uwp",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}