From ce69d61a8978d32b7ffd6960fd64d11ad947b690 Mon Sep 17 00:00:00 2001 From: Leonid Pospelov Date: Tue, 18 Apr 2023 05:51:25 +0600 Subject: [PATCH] [makeid] Add new port (#30902) --- ports/makeid/portfile.cmake | 17 +++++++++++++++++ ports/makeid/vcpkg.json | 7 +++++++ versions/baseline.json | 4 ++++ versions/m-/makeid.json | 9 +++++++++ 4 files changed, 37 insertions(+) create mode 100644 ports/makeid/portfile.cmake create mode 100644 ports/makeid/vcpkg.json create mode 100644 versions/m-/makeid.json diff --git a/ports/makeid/portfile.cmake b/ports/makeid/portfile.cmake new file mode 100644 index 00000000000..b4328b40ccc --- /dev/null +++ b/ports/makeid/portfile.cmake @@ -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}") diff --git a/ports/makeid/vcpkg.json b/ports/makeid/vcpkg.json new file mode 100644 index 00000000000..fbd793888b2 --- /dev/null +++ b/ports/makeid/vcpkg.json @@ -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 +} diff --git a/versions/baseline.json b/versions/baseline.json index f8a1ad4326d..9e038b3564a 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -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 diff --git a/versions/m-/makeid.json b/versions/m-/makeid.json new file mode 100644 index 00000000000..4b7c72c99db --- /dev/null +++ b/versions/m-/makeid.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "08114cbf3e65a21af7fa59508fc838fb4cac067c", + "version": "1.0.2", + "port-version": 0 + } + ] +}