New package: x86info-1.30

This commit is contained in:
Foxlet 2018-10-19 04:16:09 -04:00 committed by cr6git
parent f0b783cca9
commit d85498a98d
1 changed files with 25 additions and 0 deletions

25
srcpkgs/x86info/template Normal file
View File

@ -0,0 +1,25 @@
# 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
}