[makeid] Add new port (#30902)

This commit is contained in:
Leonid Pospelov 2023-04-18 05:51:25 +06:00 committed by GitHub
parent 7947b1c828
commit ce69d61a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,17 @@
vcpkg_download_distfile(ARCHIVE
URLS "https://www.humus.name/3D/MakeID.h"
FILENAME "MakeID.h-${VERSION}"
SHA512 9b7cb5c1b71904f37f65fcac3d18194154029fbe04d89099d879ce8eb03e796662c78653322317ed72988d3695414aaa6e6c24cfff999bea5009ec47119c57a7
)
file(COPY "${ARCHIVE}" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
set(license_text
"Public Domain
This file is released in the hopes that it will be useful. Use in whatever way you like, but no guarantees that it
actually works or fits any particular purpose. It has been unit-tested and benchmarked though, and seems to do
what it was designed to do, and seems pretty quick at it too."
)
file(WRITE "${CURRENT_PACKAGES_DIR}/share/makeid/copyright" "${license_text}")

7
ports/makeid/vcpkg.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "makeid",
"version": "1.0.2",
"description": "MakeID is a cross platform C++ library for IDs allocation/deallocation",
"homepage": "http://www.humus.name/index.php?page=3D",
"license": null
}

View File

@ -4992,6 +4992,10 @@
"baseline": "0.21.0",
"port-version": 2
},
"makeid": {
"baseline": "1.0.2",
"port-version": 0
},
"mapbox-geojson-cpp": {
"baseline": "0.5.1",
"port-version": 1

9
versions/m-/makeid.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "08114cbf3e65a21af7fa59508fc838fb4cac067c",
"version": "1.0.2",
"port-version": 0
}
]
}