1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 if [[ ${PV} == *9999 ]] ; then
9 EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocminfo/"
12 SRC_URI="https://github.com/RadeonOpenCompute/rocminfo/archive/roc-${PV}.tar.gz -> ${P}.tar.gz"
14 S="${WORKDIR}/rocminfo-roc-${PV}"
17 DESCRIPTION="ROCm Application for Reporting System Info"
18 HOMEPAGE="https://github.com/RadeonOpenCompute/rocminfo"
20 SLOT="0/$(ver_cut 1-2)"
22 RDEPEND="dev-libs/rocr-runtime"
27 -DROCM_DIR="${ESYSROOT}/usr"
28 -DROCR_INC_DIR="${ESYSROOT}/usr/include"
29 -DROCR_LIB_DIR="${EPREFIX}/usr/$(get_libdir)"