void-packages/srcpkgs/x86info/template

26 lines
656 B
Bash

# Template file for 'x86info'
pkgname=x86info
version=1.30
revision=1
only_for_archs="x86_64 x86_64-musl i686 i686-musl"
build_style=gnu-makefile
hostmakedepends="python3"
makedepends="pciutils-devel"
short_desc="A CPU identification utility"
maintainer="Foxlet <foxlet@furcode.co>"
homepage="http://codemonkey.org.uk/projects/x86info/"
license="GPL-2.0-only"
distfiles="http://codemonkey.org.uk/projects/x86info/x86info-${version}.tgz"
checksum=fe3009850e93a9c5fa38ed6bf74d72686043329fead8f1b2be4b5943d4fc9428
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-D_GNU_SOURCE";;
esac
do_install() {
vbin x86info
vbin lsmsr
vman x86info.1
vman lsmsr.8
}