[bw-tempdir] add new port (#42342)

This commit is contained in:
Benno Waldhauer 2024-11-27 00:43:28 +01:00 committed by GitHub
parent 41800cec5f
commit be69702775
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,21 @@
set(VCPKG_BUILD_TYPE release) # header-only
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO bw-hro/TempDir
REF "v${VERSION}"
SHA512 75c271b9f84c8eb9256a99683828faecd17f86b9c7a9066266157bf2d10acfe2d057470295b2dc05dbad5cc6fb1d6af60aed2924fba391c0bc292afc37d9e1ea
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DTD_BUILD_EXAMPLES=OFF
-DTD_BUILD_TESTS=OFF
-DTD_ENABLE_COVERAGE=OFF
)
vcpkg_cmake_install()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")

View File

@ -0,0 +1,13 @@
{
"name": "bw-tempdir",
"version": "1.0.0",
"description": "TempDir: Simplified Temporary Directory for C++",
"homepage": "https://github.com/bw-hro/TempDir",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "dbdad54667e097904671d22fac55d818283e8fc2",
"version": "1.0.0",
"port-version": 0
}
]
}

View File

@ -1440,6 +1440,10 @@
"baseline": "2019-05-08",
"port-version": 4
},
"bw-tempdir": {
"baseline": "1.0.0",
"port-version": 0
},
"bxzstr": {
"baseline": "1.2.2",
"port-version": 0