mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-24 22:42:58 +02:00
24 lines
740 B
Bash
24 lines
740 B
Bash
# Template file for 'benchmark'
|
|
pkgname=benchmark
|
|
version=1.8.0
|
|
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"
|
|
checksum=ea2e94c24ddf6594d15c711c06ccd4486434d9cf3eca954e2af8a20c88f9f172
|
|
|
|
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"
|
|
}
|
|
}
|