aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/functionalplus
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/functionalplus')
-rw-r--r--vcpkg/ports/functionalplus/portfile.cmake19
-rw-r--r--vcpkg/ports/functionalplus/vcpkg.json13
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
+ }
+ ]
+}