aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/edlib
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/edlib
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/edlib')
-rw-r--r--vcpkg/ports/edlib/portfile.cmake21
-rw-r--r--vcpkg/ports/edlib/vcpkg.json17
2 files changed, 38 insertions, 0 deletions
diff --git a/vcpkg/ports/edlib/portfile.cmake b/vcpkg/ports/edlib/portfile.cmake
new file mode 100644
index 0000000..60a6cca
--- /dev/null
+++ b/vcpkg/ports/edlib/portfile.cmake
@@ -0,0 +1,21 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Martinsos/edlib
+ REF v1.2.7
+ SHA512 720C732C76D0D9ABE28ADCE9972B355864571A2E6CBD2C72C3B4A92E045A99E3A688153865586F7E8B6C90433E2EB1BB024AD0A6E9D4EB4B4D401A160D3F13CE
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/edlib)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+# Handle copyright
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+
+vcpkg_fixup_pkgconfig()
diff --git a/vcpkg/ports/edlib/vcpkg.json b/vcpkg/ports/edlib/vcpkg.json
new file mode 100644
index 0000000..f66b09f
--- /dev/null
+++ b/vcpkg/ports/edlib/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "edlib",
+ "version": "1.2.7",
+ "port-version": 1,
+ "description": "Lightweight, super fast C/C++ (& Python) library for sequence alignment using edit (Levenshtein) distance.",
+ "homepage": "https://github.com/Martinsos/edlib",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}