diff --git a/srcpkgs/cpuinfo/template b/srcpkgs/cpuinfo/template new file mode 100644 index 0000000000..3b0abd55f9 --- /dev/null +++ b/srcpkgs/cpuinfo/template @@ -0,0 +1,20 @@ +# 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 " +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 +}