aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/swenson-sort
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/swenson-sort')
-rw-r--r--vcpkg/ports/swenson-sort/portfile.cmake12
-rw-r--r--vcpkg/ports/swenson-sort/vcpkg.json7
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/swenson-sort/portfile.cmake b/vcpkg/ports/swenson-sort/portfile.cmake
new file mode 100644
index 0000000..b3af3d8
--- /dev/null
+++ b/vcpkg/ports/swenson-sort/portfile.cmake
@@ -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")
diff --git a/vcpkg/ports/swenson-sort/vcpkg.json b/vcpkg/ports/swenson-sort/vcpkg.json
new file mode 100644
index 0000000..2f27a90
--- /dev/null
+++ b/vcpkg/ports/swenson-sort/vcpkg.json
@@ -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"
+}