void-packages/srcpkgs/xxHash/template
maxice8 8ff9f0a9b5 xxHash: update to 0.6.4.
Closes: #10275 [via git-merge-pr]
2017-12-31 22:38:55 +01:00

20 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
}