[swenson-sort] Add new port for sort.h (#32251)

* Add sort port for sort.h

[sort.h](https://github.com/swenson/sort) is a fast C header library
with many different sorting algorithms.

There's not a build process, so the port is just copying the header
file.

Most people usually just copied the header into their project, but I
thought having a vcpkg might make it easier to use sort.h

* Move sort to swenson-sort
This commit is contained in:
Christopher Swenson 2023-06-28 01:01:12 -07:00 committed by GitHub
parent 453d496bad
commit bd83734ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# header-only library, no build
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO swenson/sort
REF 5820a8094e4a2ae1c88ac8f8df7735c332ee62ff # accessed on 2023-06-26
SHA512 fbe89ba5c5531f46250e2b8128ea5f1d7bac642a590a2f6e5f2cc3befa61f175b8f1fc28317377cde50357e8947ddc7ba8e0751437cf2c9fb91b7469511be15a
FILE_DISAMBIGUATOR 2
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/sort.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")

View File

@ -0,0 +1,7 @@
{
"name": "swenson-sort",
"version-date": "2021-05-22",
"description": "sort.h is an implementation of a ton of sorting algorithms in C with a user-defined type that is provided at include time.",
"homepage": "https://github.com/swenson/sort",
"license": "MIT"
}

View File

@ -7888,6 +7888,10 @@
"baseline": "6.0.0",
"port-version": 0
},
"swenson-sort": {
"baseline": "2021-05-22",
"port-version": 0
},
"symengine": {
"baseline": "0.10.1",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "df8ebeee5f40cc3cfc5d7c88e858621ef3622270",
"version-date": "2021-05-22",
"port-version": 0
}
]
}