Skip to content

Commit

Permalink
[tuplet] New port (microsoft#33005) (microsoft#33006)
Browse files Browse the repository at this point in the history
* [tuplet] New port

* update version database

Co-authored-by: Stanley Pinchak <[email protected]>
  • Loading branch information
gotnone and Stanley Pinchak authored Aug 7, 2023
1 parent 9a2fae7 commit af5230d
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ports/tuplet/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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 changes: 17 additions & 0 deletions ports/tuplet/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions versions/t-/tuplet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "74fcd4cc246f7511749c6172bbbe333c0fa012d7",
"version": "2.1.1",
"port-version": 0
}
]
}

0 comments on commit af5230d

Please sign in to comment.