void-packages/srcpkgs/benchmark/template
2021-10-06 23:15:27 -03:00

25 lines
740 B
Bash

# Template file for 'benchmark'
pkgname=benchmark
version=1.6.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=1f71c72ce08d2c1310011ea6436b31e39ccab8c2db94186d26657d41747c85d6
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"
}
}