diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/fins | |
Diffstat (limited to 'vcpkg/ports/fins')
| -rw-r--r-- | vcpkg/ports/fins/portfile.cmake | 25 | ||||
| -rw-r--r-- | vcpkg/ports/fins/vcpkg.json | 20 |
2 files changed, 45 insertions, 0 deletions
diff --git a/vcpkg/ports/fins/portfile.cmake b/vcpkg/ports/fins/portfile.cmake new file mode 100644 index 0000000..dea5315 --- /dev/null +++ b/vcpkg/ports/fins/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO lammertb/libfins
+ REF 5525ef513137507ec3ecab68c698a21b30497bc3
+ SHA512 6d5c039cefa55183460b14c226a77e24a93200a288486fca6fd5a3639d78e028a89a7eb25775c802cd78fdb371b0cae05236926612395896f56b23f61f5e5e87
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+vcpkg_copy_pdbs()
+vcpkg_cmake_config_fixup()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
+
+
+
diff --git a/vcpkg/ports/fins/vcpkg.json b/vcpkg/ports/fins/vcpkg.json new file mode 100644 index 0000000..40e9f40 --- /dev/null +++ b/vcpkg/ports/fins/vcpkg.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", + "name": "fins", + "version-date": "2023-07-31", + "maintainers": "Lammert Bies", + "description": "LibFINS is an MIT licensed library written in C implementing the FINS/TCP protocol used for communication between Omron PLCs. The library contains all the documented client FINS functions. This open source library is a spin-off of a larger project which also implements FINS/UDP client communication and a FINS server engine.", + "homepage": "https://www.libfins.org", + "documentation": "https://www.libfins.org/api-reference/", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |