diff options
| author | Alexander Neumann <alexander.neumann@hamburg.de> | 2019-09-20 12:24:23 +0200 |
|---|---|---|
| committer | Alexander Neumann <alexander.neumann@hamburg.de> | 2019-09-20 12:24:23 +0200 |
| commit | 5b1e426929b40a9b60809284993b424b841a28fc (patch) | |
| tree | bd12300ad859bababb7d4acc03700fd31949fddc /ports/fplus | |
| parent | 279e25aecfe30f55296881ea9b0236c1d6ee030a (diff) | |
| parent | 358ec0954d9b71b0def4fd4b4dbafdd0b8478d81 (diff) | |
| download | vcpkg-5b1e426929b40a9b60809284993b424b841a28fc.tar.gz vcpkg-5b1e426929b40a9b60809284993b424b841a28fc.zip | |
Merge remote-tracking branch 'upstream/master' into path_separator
# Conflicts:
# scripts/cmake/vcpkg_common_definitions.cmake
Diffstat (limited to 'ports/fplus')
| -rw-r--r-- | ports/fplus/CONTROL | 4 | ||||
| -rw-r--r-- | ports/fplus/portfile.cmake | 22 |
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/fplus/CONTROL b/ports/fplus/CONTROL new file mode 100644 index 000000000..10c95ac63 --- /dev/null +++ b/ports/fplus/CONTROL @@ -0,0 +1,4 @@ +Source: fplus
+Version: 0.2.3-p0
+Description: Functional Programming Library for C++. Write concise and readable C++ code.
+Homepage: https://github.com/Dobiasd/FunctionalPlus
\ No newline at end of file diff --git a/ports/fplus/portfile.cmake b/ports/fplus/portfile.cmake new file mode 100644 index 000000000..fc7da4cbc --- /dev/null +++ b/ports/fplus/portfile.cmake @@ -0,0 +1,22 @@ +include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Dobiasd/FunctionalPlus
+ REF v0.2.3-p0
+ SHA512 99fe07e68cd5630b9b243670778772f396cabb89845fb3ae5105884fab1cdbb7fae4080f57d0aea4d9282f84036572c0dd1e4b9602997dec4171a90b98416759
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+ -DFPLUS_BUILD_EXAMPLES=OFF
+)
+
+vcpkg_install_cmake()
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
+
+configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
\ No newline at end of file |
