Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bw-tempdir] add new port #42342

Merged
merged 5 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions ports/bw-tempdir/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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")
13 changes: 13 additions & 0 deletions ports/bw-tempdir/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
9 changes: 9 additions & 0 deletions versions/b-/bw-tempdir.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "dbdad54667e097904671d22fac55d818283e8fc2",
"version": "1.0.0",
"port-version": 0
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down