void-packages/srcpkgs/x86info/template

27 lines
683 B
Bash

# Template file for 'x86info'
pkgname=x86info
version=1.31~pre0
revision=1
_commit=8052aabdd159bc9050e7dc264f33782c5acce05f
archs="x86_64* i686*"
build_style=gnu-makefile
hostmakedepends="python3"
makedepends="pciutils-devel"
short_desc="CPU identification utility"
maintainer="Foxlet <foxlet@furcode.co>"
license="GPL-2.0-only"
homepage="http://codemonkey.org.uk/projects/x86info/"
distfiles="${DEBIAN_SITE}/main/x/x86info/x86info_${version}.${_commit}.orig.tar.gz"
checksum=48230255c63de46eeba7fbf5b38180767a52f64248e6cc5b94f17539f6747b4b
if [ "$XBPS_TARGET_LIBC" = musl ]; then
CFLAGS="-D_GNU_SOURCE"
fi
do_install() {
vbin x86info
vbin lsmsr
vman x86info.1
vman lsmsr.8
}