aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/anax/portfile.cmake
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/anax/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/anax/portfile.cmake')
-rw-r--r--vcpkg/ports/anax/portfile.cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/anax/portfile.cmake b/vcpkg/ports/anax/portfile.cmake
new file mode 100644
index 0000000..56c9156
--- /dev/null
+++ b/vcpkg/ports/anax/portfile.cmake
@@ -0,0 +1,26 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO miguelmartin75/anax
+ REF v2.1.0
+ SHA512 b573733b5f9634bf8cfc5b0715074f9a8ee29ecb48dc981d9371254a1f6ff8afbbb9ba6aa0877d53e518e5486ecc398a6d331fb9b5dbfd17d8707679216e11a3
+ HEAD_REF master
+ PATCHES
+ Add-bin-output.patch
+ osx-arm.patch
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ DISABLE_PARALLEL_CONFIGURE
+)
+
+vcpkg_cmake_install()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+# Handle copyright
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+
+vcpkg_copy_pdbs()