void-packages/srcpkgs/cpuinfo/template

21 lines
527 B
Bash
Raw Normal View History

2018-10-20 18:14:24 +02:00
# Template file for 'cpuinfo'
pkgname=cpuinfo
version=1.3.0
revision=1
build_style=gnu-makefile
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
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
}