void-packages/srcpkgs/radeontop/template

23 lines
568 B
Bash

# Template file for 'radeontop'
pkgname=radeontop
version=1.2
revision=1
archs="i686* x86_64*"
hostmakedepends="pkg-config"
makedepends="ncurses-devel libdrm-devel libxcb-devel"
short_desc="View radeon GPU utilization"
maintainer="Logen K <logen@sudotask.com>"
license="GPL-3.0-only"
homepage="https://github.com/clbr/radeontop"
distfiles="https://github.com/clbr/radeontop/archive/v${version}.tar.gz"
checksum=dced8f8e64e6bfac1f4054b5cdd986e984b80766547ba272870bc25291c68349
do_build() {
make CC="$CC" amdgpu=1
}
do_install() {
vbin radeontop
vman radeontop.1
}