void-packages/srcpkgs/xxHash/template

21 lines
592 B
Bash

# Template file for 'xxHash'
pkgname=xxHash
version=0.6.4
revision=1
build_style=gnu-makefile
short_desc="Fast non-cryptographic hashing algorithm"
maintainer="Evan Deaubl <evan@deaubl.name>"
license="BSD, GPL-2"
homepage="http://xxhash.com"
distfiles="https://github.com/Cyan4973/${pkgname}/archive/v${version}.tar.gz>xxhash-${version}.tar.gz"
checksum=4570ccd111df6b6386502791397906bf69b7371eb209af7d41debc2f074cdb22
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
}