diff options
| author | Sy Brand <tartanllama@gmail.com> | 2021-09-29 01:32:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-28 17:32:06 -0700 |
| commit | 33f02c0ae50c262da487d21ace4f5d67ae949c18 (patch) | |
| tree | 4ab2ca0a783ee571a697d5d11b775983ba011c5c /ports | |
| parent | 33fb841fba84cfd3e9d47611a92ce49a116e2f82 (diff) | |
| download | vcpkg-33f02c0ae50c262da487d21ace4f5d67ae949c18.tar.gz vcpkg-33f02c0ae50c262da487d21ace4f5d67ae949c18.zip | |
[New Port] Add tl-generator (#20385)
* Add tl-generator
* Format manifest and update versions
* Update versions
* Update ports/tl-generator/portfile.cmake
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Update ports/tl-generator/portfile.cmake
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Update ports/tl-generator/vcpkg.json
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Update ports/tl-generator/vcpkg.json
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Fixup version database.
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/tl-generator/portfile.cmake | 18 | ||||
| -rw-r--r-- | ports/tl-generator/vcpkg.json | 12 |
2 files changed, 30 insertions, 0 deletions
diff --git a/ports/tl-generator/portfile.cmake b/ports/tl-generator/portfile.cmake new file mode 100644 index 000000000..1ec53ebcd --- /dev/null +++ b/ports/tl-generator/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO TartanLlama/generator
+ REF a8e421f04159199f6896b09cad2bd3c6fbb2a5fb
+ SHA512 bb00cc0b3224813c7837175d81d7a08627dfe7a2f52c0bb8125ec7c6e8018a0a856c94463105dd04e7e20b8af9afc57c1c7228e9119174a9e621e675f8a3b447
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DGENERATOR_BUILD_TESTS=OFF
+)
+
+vcpkg_cmake_install()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/tl-generator/vcpkg.json b/ports/tl-generator/vcpkg.json new file mode 100644 index 000000000..6fb847154 --- /dev/null +++ b/ports/tl-generator/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "tl-generator", + "version-date": "2021-09-28", + "description": "Single-header, ranges-compatible generator type built on C++20 coroutines", + "homepage": "https://tl.tartanllama.xyz", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} |
