void-packages/srcpkgs/cpuid/template

18 lines
574 B
Bash

# Template file for 'cpuid'
pkgname=cpuid
version=20180519
revision=1
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=gnu-makefile
hostmakedepends="perl"
short_desc="Linux tool to dump x86 CPUID information about the CPU(s)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.etallen.com/cpuid.html"
distfiles="http://www.etallen.com/cpuid/cpuid-${version}.src.tar.gz"
checksum=967823be36f23cbc972eb0aa882d069c1d155a5978990ac3bcf425e6a2e7ff9a
post_extract() {
sed -i 's|BUILDROOT=|BUILDROOT=${DESTDIR}|' Makefile
}