void-packages/srcpkgs/radeontop/template

23 lines
561 B
Bash

# Template file for 'radeontop'
pkgname=radeontop
version=1.1
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"
homepage="https://github.com/clbr/radeontop"
distfiles="https://github.com/clbr/radeontop/archive/v${version}.tar.gz"
checksum=8685ea42a44b24b92974ce5b774e14ab64281f05440ea6e6df35a6c48a3460bb
do_build() {
make CC="$CC" amdgpu=1
}
do_install() {
vbin radeontop
vman radeontop.1
}