36 lines
847 B
Bash
36 lines
847 B
Bash
# Template file for 'xxHash'
|
|
pkgname=xxHash
|
|
version=0.8.2
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
make_check_target="test"
|
|
short_desc="Fast non-cryptographic hashing algorithm"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="BSD-2-Clause, GPL-2.0-or-later"
|
|
homepage="https://cyan4973.github.io/xxHash/"
|
|
distfiles="https://github.com/Cyan4973/${pkgname}/archive/v${version}.tar.gz>xxhash-${version}.tar.gz"
|
|
checksum=baee0c6afd4f03165de7a4e67988d16f0f2b257b51d0e3cb91909302a26a79c4
|
|
|
|
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/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|