# Template file for 'ROCm-SMI'
pkgname=ROCm-SMI
version=7.0.1
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libdrm-devel"
short_desc="ROCm System Management Interface"
maintainer="Daniel Martinez <danielmartinez@cock.li>"
license="NCSA"
homepage="https://github.com/ROCm/rocm_smi_lib"
changelog="https://raw.githubusercontent.com/ROCm/rocm_smi_lib/rocm-${version}/CHANGELOG.md"
distfiles="https://github.com/ROCm/rocm_smi_lib/archive/refs/tags/rocm-${version}.tar.gz"
checksum=08b32a16dab130b1a530473918a6f80d946593aa3c207142e7f53030ed3f04d8

ROCm-SMI-devel_package() {
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
