void-packages/srcpkgs/cpu_features/template

22 lines
655 B
Bash
Raw Normal View History

2023-12-16 18:00:29 +01:00
# Template file for 'cpu_features'
pkgname=cpu_features
version=0.9.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=NO"
short_desc="Cross platform C99 library to get cpu features at runtime"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/google/cpu_features"
distfiles="https://github.com/google/cpu_features/archive/v${version}.tar.gz"
checksum=bdb3484de8297c49b59955c3b22dba834401bc2df984ef5cfc17acbe69c5018e
cpu_features-devel_package() {
short_desc+=" - development files"
depends+=" $sourcepkg>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib
}
}