void-packages/srcpkgs/xxHash/template

20 lines
567 B
Bash

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