void-packages/srcpkgs/CPU-X/template

26 lines
799 B
Bash
Raw Normal View History

2019-01-13 21:34:08 +01:00
# Template file for 'CPU-X'
2018-07-18 07:03:51 +02:00
pkgname=CPU-X
2019-01-13 21:34:08 +01:00
version=3.2.4
2018-07-18 07:03:51 +02:00
revision=1
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
build_style=cmake
hostmakedepends="nasm pkg-config"
makedepends="libcpuid-devel libcurl-devel ncurses-devel pciutils-devel
2019-01-13 21:34:08 +01:00
procps-ng-devel json-c-devel $(vopt_if gtk3 'gtk+3-devel')"
2018-07-18 07:03:51 +02:00
short_desc="Free software that gathers information on CPU, motherboard and more"
maintainer="Orphaned <orphan@voidlinux.org>"
2018-07-18 07:03:51 +02:00
license="GPL-3.0-or-later"
homepage="https://x0rg.github.io/CPU-X/"
distfiles="https://github.com/X0rg/CPU-X/archive/v${version}.tar.gz"
2019-01-13 21:34:08 +01:00
checksum=f266388e13c527a5d1d98ec70957b1284f67aa89470cf71bc98ecb41c21542eb
build_options="gtk3"
build_options_default="gtk3"
2018-07-18 07:03:51 +02:00
2019-01-13 21:34:08 +01:00
case "$XBPS_TARGET_MACHINE" in
2018-07-18 07:03:51 +02:00
*-musl)
makedepends+=" libexecinfo-devel"
LDFLAGS="-lexecinfo"
;;
esac