[tuplet] New port (#33005) (#33006)

* [tuplet] New port

* update version database

Co-authored-by: Stanley Pinchak <stanley.pinchak@gmail.com>
This commit is contained in:
gotnone 2023-08-07 11:55:47 -05:00 committed by GitHub
parent 9a2fae790b
commit af5230dab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO codeinred/tuplet
REF "v${VERSION}"
SHA512 afab0ad34e9e15909c43112b77014821607ec8d429c395b882eea74873432204fca2b5a2c2e04f84cf6193e19bc0a9dcb7702d1e97668a32ec1541e02b6e798a
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
-DCMAKE_INSTALL_INCLUDEDIR=include
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME tuplet CONFIG_PATH share/tuplet/cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug"
)
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

17
ports/tuplet/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "tuplet",
"version": "2.1.1",
"description": "A Lightweight Tuple Library for Modern C++",
"homepage": "https://github.com/codeinred/tuplet",
"license": "BSL-1.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -8296,6 +8296,10 @@
"baseline": "0.5.0",
"port-version": 2
},
"tuplet": {
"baseline": "2.1.1",
"port-version": 0
},
"turbobase64": {
"baseline": "2020-01-12",
"port-version": 3

9
versions/t-/tuplet.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "74fcd4cc246f7511749c6172bbbe333c0fa012d7",
"version": "2.1.1",
"port-version": 0
}
]
}