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

[uthash] Add new port #19823

Merged
merged 4 commits into from
Sep 10, 2021
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
13 changes: 13 additions & 0 deletions ports/uthash/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO troydhanson/uthash
REF e493aa90a2833b4655927598f169c31cfcdf7861
SHA512 a4a2cdee11b238f57bdc3104eee1b3d2014359b65ada896dd26c7f21dda13921f63b44d3d0e7b6fa03731f64b4b4013861d0a49df8b54d7e3726454cbfebaa39
HEAD_REF master
)

file(GLOB uthash_PUBLIC_HEADERS ${SOURCE_PATH}/src/*.h)
file(INSTALL ${uthash_PUBLIC_HEADERS} DESTINATION "${CURRENT_PACKAGES_DIR}/include")

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
7 changes: 7 additions & 0 deletions ports/uthash/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "uthash",
"version-semver": "2.3.0",
"description": "C macros for hash tables and more.",
"homepage": "https://troydhanson.github.io/uthash/",
"license": "BSD-1-Clause"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6640,6 +6640,10 @@
"baseline": "1.2-1",
"port-version": 0
},
"uthash": {
"baseline": "2.3.0",
"port-version": 0
},
"uthenticode": {
"baseline": "1.0.4",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/u-/uthash.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "031c9a8367a7683fb4cd9b022ebcf504a53a0bfd",
"version-semver": "2.3.0",
"port-version": 0
}
]
}