diff options
| author | Simon Brand <tartanllama@gmail.com> | 2018-10-03 17:15:06 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-10-03 17:15:06 -0700 |
| commit | 7e714a2c93540c8369410fd36e052c3774024b85 (patch) | |
| tree | d18675a409b48f61590182562f2617c3c00ebaf8 | |
| parent | 0cbb8a1626f04b3316a52e44266c3b9adf316f9b (diff) | |
| download | vcpkg-7e714a2c93540c8369410fd36e052c3774024b85.tar.gz vcpkg-7e714a2c93540c8369410fd36e052c3774024b85.zip | |
[tl-expected] Add new port (#4399)
* [tl-expected] Add new port
* [tl-expected] Simplification since CMake doesn't currently install targets
| -rw-r--r-- | ports/tl-expected/CONTROL | 3 | ||||
| -rw-r--r-- | ports/tl-expected/portfile.cmake | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/ports/tl-expected/CONTROL b/ports/tl-expected/CONTROL new file mode 100644 index 000000000..440efe9fa --- /dev/null +++ b/ports/tl-expected/CONTROL @@ -0,0 +1,3 @@ +Source: tl-expected +Version: 0.3-1 +Description: C++11/14/17 std::expected implementation with functional-style extensions diff --git a/ports/tl-expected/portfile.cmake b/ports/tl-expected/portfile.cmake new file mode 100644 index 000000000..95a4861c2 --- /dev/null +++ b/ports/tl-expected/portfile.cmake @@ -0,0 +1,15 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO TartanLlama/expected + REF v0.3 + SHA512 a228399f7103020ed814f1c755b82cf831b3d8c6aaa23dbc3aedc226b3cbd39c22075952dda3af84c8cf6f74ab1131c6997a2431ee62314bd82ccafdc9ab23a3 + HEAD_REF master +) + +# Install header file +file(INSTALL ${SOURCE_PATH}/tl DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/tl-expected RENAME copyright) |
