devel/xxhash: new port

xxHash is an extremely fast non-cryptographic hash algorithm, running at RAM
speed limits.  It is proposed in two flavors, 32 and 64 bits. It successfully
completes the SMHasher test suite which evaluates collision, dispersion and
randomness qualities of hash functions. Code is highly portable, and hashes
are identical on all platforms (little / big endian).

WWW: http://www.xxhash.com/

Approved by:	feld (mentor)
Differential Revision:	https://reviews.freebsd.org/D9468
This commit is contained in:
Matthew Rezny 2017-02-08 17:56:23 +00:00
parent 334369a325
commit 0fd8c55cc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433659
4 changed files with 38 additions and 0 deletions

View file

@ -5748,6 +5748,7 @@
SUBDIR += xtl
SUBDIR += xwpe
SUBDIR += xxgdb
SUBDIR += xxhash
SUBDIR += xxl
SUBDIR += yaggo
SUBDIR += yajl

27
devel/xxhash/Makefile Normal file
View file

@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= xxhash
PORTVERSION= 0.6.2
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= rezny@FreeBSD.org
COMMENT= Extremely fast non-cryptographic hash algorithm
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= Cyan4973
GH_PROJECT= xxHash
USES= cmake:outsource
USE_LDCONFIG= yes
CMAKE_SOURCE_PATH= ${WRKSRC}/cmake_unofficial
PLIST_FILES= include/xxhash.h \
lib/libxxhash.so \
lib/libxxhash.so.0 \
lib/libxxhash.so.0.42.0
.include <bsd.port.mk>

3
devel/xxhash/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1486321781
SHA256 (Cyan4973-xxHash-v0.6.2_GH0.tar.gz) = e4da793acbe411e7572124f958fa53b280e5f1821a8bf78d79ace972950b8f82
SIZE (Cyan4973-xxHash-v0.6.2_GH0.tar.gz) = 26518

7
devel/xxhash/pkg-descr Normal file
View file

@ -0,0 +1,7 @@
xxHash is an extremely fast non-cryptographic hash algorithm, running at RAM
speed limits. It is proposed in two flavors, 32 and 64 bits. It successfully
completes the SMHasher test suite which evaluates collision, dispersion and
randomness qualities of hash functions. Code is highly portable, and hashes are
identical on all platforms (little / big endian).
WWW: http://www.xxhash.com/