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/functionalplus | |
Diffstat (limited to 'vcpkg/ports/functionalplus')
| -rw-r--r-- | vcpkg/ports/functionalplus/portfile.cmake | 19 | ||||
| -rw-r--r-- | vcpkg/ports/functionalplus/vcpkg.json | 13 |
2 files changed, 32 insertions, 0 deletions
diff --git a/vcpkg/ports/functionalplus/portfile.cmake b/vcpkg/ports/functionalplus/portfile.cmake new file mode 100644 index 0000000..a5e8e0a --- /dev/null +++ b/vcpkg/ports/functionalplus/portfile.cmake @@ -0,0 +1,19 @@ +set(VCPKG_BUILD_TYPE release) # header-only
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Dobiasd/FunctionalPlus
+ REF "v${VERSION}"
+ SHA512 06eb3453cf2d1f8931223b8da9b6a5a6243cae99ce930b74cbd72a4e146eb10dc464f01021d5acbadfe75fe2d2b06580fbd3bb014792f000156ae05e5e3e3a64
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DFunctionalPlus_INSTALL_CMAKEDIR=share/functionalplus
+)
+
+vcpkg_cmake_install()
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/functionalplus/vcpkg.json b/vcpkg/ports/functionalplus/vcpkg.json new file mode 100644 index 0000000..52d1de8 --- /dev/null +++ b/vcpkg/ports/functionalplus/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "functionalplus", + "version": "0.2.26", + "description": "This port is the new fplus port, the old fplus has been removed. Functional Programming Library for C++. Write concise and readable C++ code", + "homepage": "https://github.com/Dobiasd/FunctionalPlus", + "license": "BSL-1.0", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} |