void-packages/srcpkgs/cpuinfo/template
2018-11-03 09:45:23 +01:00

20 lines
527 B
Bash

# 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
}