void-packages/srcpkgs/benchmark/template

25 lines
740 B
Bash
Raw Normal View History

2021-05-24 12:13:09 +02:00
# Template file for 'benchmark'
pkgname=benchmark
2021-06-12 18:35:08 +02:00
version=1.5.5
2021-05-24 12:13:09 +02:00
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DBENCHMARK_ENABLE_GTEST_TESTS=OFF
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=OFF"
short_desc="Microbenchmark support library"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/google/benchmark/"
distfiles="https://github.com/google/benchmark/archive/v${version}.tar.gz"
2021-06-12 18:35:08 +02:00
checksum=3bff5f237c317ddfd8d5a9b96b3eede7c0802e799db520d38ce756a2a46a18a0
2021-05-24 12:13:09 +02:00
benchmark-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}