void-packages/srcpkgs/cpuinfo/template

21 lines
498 B
Bash

# Template file for 'cpuinfo'
pkgname=cpuinfo
version=1.3.0
revision=1
build_style=gnu-makefile
archs="i686* x86_64*"
short_desc="Tool to display/decode CPUINFO"
maintainer="misuchiru03 <misuchiru03+void@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/dell/cpuinfo"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=464152a06cedcb20336db4b7b794733de486294605efd25d16f3a2b0537b5dd2
pre_configure() {
sed -i -e 's/gcc/$(CC)/' Makefile
}
do_install() {
vbin cpuinfo
}