void-packages/srcpkgs/xxHash/template

21 lines
612 B
Bash

# Template file for 'xxHash'
pkgname=xxHash
version=0.6.5
revision=1
build_style=gnu-makefile
short_desc="Fast non-cryptographic hashing algorithm"
maintainer="Evan Deaubl <evan@deaubl.name>"
license="BSD-2-Clause, GPL-2.0-or-later"
homepage="http://xxhash.com"
distfiles="https://github.com/Cyan4973/${pkgname}/archive/v${version}.tar.gz>xxhash-${version}.tar.gz"
checksum=19030315f4fc1b4b2cdb9d7a317069a109f90e39d1fe4c9159b7aaa39030eb95
make_check_target="test"
do_install() {
vbin xxhsum
ln -s xxhsum ${DESTDIR}/usr/bin/xxh32sum
ln -s xxhsum ${DESTDIR}/usr/bin/xxh64sum
vman xxhsum.1
vlicense LICENSE
}