xxhash: initial commit, version 0.8.2

This commit is contained in:
Tim Biermann 2024-06-02 14:16:36 +02:00
parent 10c166b5c8
commit f4d8065422
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 48 additions and 0 deletions

22
xxhash/.footprint Normal file
View File

@ -0,0 +1,22 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/xxhsum
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/xxh3.h
-rw-r--r-- root/root usr/include/xxhash.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/xxHash/
-rw-r--r-- root/root usr/lib/cmake/xxHash/xxHashConfig.cmake
-rw-r--r-- root/root usr/lib/cmake/xxHash/xxHashConfigVersion.cmake
-rw-r--r-- root/root usr/lib/cmake/xxHash/xxHashTargets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/xxHash/xxHashTargets.cmake
lrwxrwxrwx root/root usr/lib/libxxhash.so -> libxxhash.so.0
lrwxrwxrwx root/root usr/lib/libxxhash.so.0 -> libxxhash.so.0.8.2
-rwxr-xr-x root/root usr/lib/libxxhash.so.0.8.2
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libxxhash.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/xxhsum.1.gz

5
xxhash/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/bpg8QS3SNU0kX6tIyEw7ykkndazGfFf7Zh424mwqBpfQeQnEq8SWWn0DOjszXXaC0ngZy5pxeweMV7zT1LVvQE=
SHA256 (Pkgfile) = 0053aaecbd14e55bc4f8c04e95b599275c8f055a2656382d1114e201b3cc229c
SHA256 (.footprint) = e357a5eac13b1c57c669c44ab8e6785769ea2c413e3dccf2648c6a7cc6e5711f
SHA256 (xxhash-0.8.2.tar.gz) = baee0c6afd4f03165de7a4e67988d16f0f2b257b51d0e3cb91909302a26a79c4

21
xxhash/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: Extremely fast non-cryptographic hash algorithm
# URL: https://github.com/Cyan4973/xxHash
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:
name=xxhash
version=0.8.2
release=1
source=(https://github.com/Cyan4973/xxHash/archive/v$version/$name-$version.tar.gz)
build() {
ls
cmake -S xxHash-$version/cmake_unofficial -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}