x86info: update to 1.31~pre0.

This commit is contained in:
Đoàn Trần Công Danh 2022-12-22 00:03:27 +07:00 committed by classabbyamp
parent 6b4c211a2d
commit b0af14e698

View file

@ -1,21 +1,22 @@
# Template file for 'x86info'
pkgname=x86info
version=1.30
version=1.31~pre0
revision=1
_commit=8052aabdd159bc9050e7dc264f33782c5acce05f
archs="x86_64* i686*"
build_style=gnu-makefile
hostmakedepends="python3"
makedepends="pciutils-devel"
short_desc="A CPU identification utility"
short_desc="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
homepage="http://codemonkey.org.uk/projects/x86info/"
distfiles="${DEBIAN_SITE}/main/x/x86info/x86info_${version}.${_commit}.orig.tar.gz"
checksum=48230255c63de46eeba7fbf5b38180767a52f64248e6cc5b94f17539f6747b4b
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-D_GNU_SOURCE";;
esac
if [ "$XBPS_TARGET_LIBC" = musl ]; then
CFLAGS="-D_GNU_SOURCE"
fi
do_install() {
vbin x86info