void-packages/srcpkgs/radeontop/template

23 lines
571 B
Bash

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