void-packages/srcpkgs/radeontop/template
2018-07-01 11:09:38 +02:00

22 lines
590 B
Bash

# Template file for 'radeontop'
pkgname=radeontop
version=1.1
revision=1
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
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
}