[xxhash] Fix the installation path of the xxhsum.1 file (#30964)

* fix xxhsum1 path

* update version
This commit is contained in:
jim wang 2023-04-20 09:53:47 +08:00 committed by GitHub
parent c08e90ceb4
commit 2b1757dd1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,13 @@
diff --git a/cmake_unofficial/CMakeLists.txt b/cmake_unofficial/CMakeLists.txt
index d5456b0..aed0db5 100644
--- a/cmake_unofficial/CMakeLists.txt
+++ b/cmake_unofficial/CMakeLists.txt
@@ -122,7 +122,7 @@ if(NOT XXHASH_BUNDLED_MODE)
install(TARGETS xxhsum
EXPORT xxHashTargets
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
- install(FILES "${XXHASH_DIR}/xxhsum.1"
+ install(FILES "${XXHASH_DIR}/cli/xxhsum.1"
DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")
endif(XXHASH_BUILD_XXHSUM)

View File

@ -4,6 +4,8 @@ vcpkg_from_github(
REF v0.8.1
SHA512 12feedd6a1859ef55e27218dbd6dcceccbb5a4da34cd80240d2f7d44cd246c7afdeb59830c2d5b90189bb5159293532208bf5bb622250102e12d6e1bad14a193
HEAD_REF dev
PATCHES
fix_xxhsum1_path.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,7 +1,7 @@
{
"name": "xxhash",
"version": "0.8.1",
"port-version": 1,
"port-version": 2,
"description": "Extremely fast hash algorithm",
"homepage": "https://github.com/Cyan4973/xxHash",
"dependencies": [

View File

@ -8658,7 +8658,7 @@
},
"xxhash": {
"baseline": "0.8.1",
"port-version": 1
"port-version": 2
},
"yajl": {
"baseline": "2.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8c45988bd467674cb21961646a9379645a235ba5",
"version": "0.8.1",
"port-version": 2
},
{
"git-tree": "895a0039b3cd40c7f66725608d07dc851e0d54b6",
"version": "0.8.1",