aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorautoantwort <41973254+autoantwort@users.noreply.github.com>2021-09-04 02:03:15 +0200
committerGitHub <noreply@github.com>2021-09-03 17:03:15 -0700
commit3506a45eabcb63f9f65e96fc2debc290e72de4d6 (patch)
treeb672d146908b5f292d6d6349818bac8822b25b4d /ports
parent38d6712d5644ede4ff597e889549f5d540dcf8ff (diff)
downloadvcpkg-3506a45eabcb63f9f65e96fc2debc290e72de4d6.tar.gz
vcpkg-3506a45eabcb63f9f65e96fc2debc290e72de4d6.zip
[simdutf] add new port (#19742)
Diffstat (limited to 'ports')
-rw-r--r--ports/simdutf/portfile.cmake18
-rw-r--r--ports/simdutf/vcpkg.json16
2 files changed, 34 insertions, 0 deletions
diff --git a/ports/simdutf/portfile.cmake b/ports/simdutf/portfile.cmake
new file mode 100644
index 000000000..c9e6bead8
--- /dev/null
+++ b/ports/simdutf/portfile.cmake
@@ -0,0 +1,18 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO simdutf/simdutf
+ REF v1.0.0
+ SHA512 3ab09aa61cb9765bf1a77de59c5b823ee58ae5e4badfd5dd70e511fd4f378f8d3917a5b577e7f275720b975740344968132ce0b3f628452bde67f2ab6cc82337
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(INSTALL "${SOURCE_PATH}/LICENSE-APACHE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/simdutf/vcpkg.json b/ports/simdutf/vcpkg.json
new file mode 100644
index 000000000..67f03f8e2
--- /dev/null
+++ b/ports/simdutf/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "simdutf",
+ "version-semver": "1.0.0",
+ "description": "Unicode validation and transcoding at billions of characters per second",
+ "homepage": "https://github.com/simdutf/simdutf",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}