33 lines
792 B
Bash
33 lines
792 B
Bash
# Template file for 'xxHash'
|
|
pkgname=xxHash
|
|
version=0.6.5
|
|
revision=2
|
|
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"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libxxHash_package() {
|
|
short_desc+=" - library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
xxHash-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libxxHash>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|