void-packages/srcpkgs/xxHash/template

20 lines
567 B
Bash

# Template file for 'xxHash'
pkgname=xxHash
version=0.6.2
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=e4da793acbe411e7572124f958fa53b280e5f1821a8bf78d79ace972950b8f82
do_install() {
vbin xxhsum
ln -s xxhsum ${DESTDIR}/usr/bin/xxh32sum
ln -s xxhsum ${DESTDIR}/usr/bin/xxh64sum
vman xxhsum.1
vlicense LICENSE
}