diff options
Diffstat (limited to 'vcpkg/ports/stringzilla')
| -rw-r--r-- | vcpkg/ports/stringzilla/portfile.cmake | 13 | ||||
| -rw-r--r-- | vcpkg/ports/stringzilla/vcpkg.json | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/stringzilla/portfile.cmake b/vcpkg/ports/stringzilla/portfile.cmake new file mode 100644 index 0000000..cc35a69 --- /dev/null +++ b/vcpkg/ports/stringzilla/portfile.cmake @@ -0,0 +1,13 @@ +# Header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ashvardanian/StringZilla
+ REF "v${VERSION}"
+ SHA512 2b0845e4012274020ce18b5025b219608001851cd6a0d32edfb1e91f87fba49f3c6a4361005cf5ead3d743ce8a5f7f744cf0ec97e5464274d1cfe8de014da714
+ HEAD_REF master
+)
+
+file(COPY "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/stringzilla/vcpkg.json b/vcpkg/ports/stringzilla/vcpkg.json new file mode 100644 index 0000000..1b06736 --- /dev/null +++ b/vcpkg/ports/stringzilla/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "stringzilla", + "version": "4.2.3", + "description": "StringZilla is the GodZilla of string libraries, using SIMD and SWAR to accelerate string operations on modern CPUs.", + "homepage": "https://github.com/ashvardanian/StringZilla", + "license": "Apache-2.0" +} |