diff --git a/srcpkgs/radeontop/template b/srcpkgs/radeontop/template new file mode 100644 index 00000000000..6caa21a76bc --- /dev/null +++ b/srcpkgs/radeontop/template @@ -0,0 +1,21 @@ +# Template file for 'radeontop' +pkgname=radeontop +version=v0.8 +revision=1 +wrksrc="${pkgname}-${version#?}" +build_style=gnu-makefile +hostmakedepends="pkg-config git gettext" +makedepends="ncurses-devel libdrm-devel" +depends="xf86-video-ati" +short_desc="View radeon GPU utilization" +maintainer="Logen K " +license="GPL-3" +homepage="https://github.com/clbr/radeontop" +distfiles="https://github.com/clbr/radeontop/archive/${version}.tar.gz" +checksum=4430e1aaca895d70ea496a9b14010d9d94cadd6269b28a66104af89ff29d8489 + +do_build() { + make CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \ + CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" STRIP="true" +} +