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/rocm-cmake/"
12 SRC_URI="https://github.com/RadeonOpenCompute/rocm-cmake/archive/roc-${PV}.tar.gz -> ${P}.tar.gz"
14 S="${WORKDIR}/rocm-cmake-roc-${PV}"
17 DESCRIPTION="Radeon Open Compute CMake Modules"
18 HOMEPAGE="https://github.com/RadeonOpenCompute/rocm-cmake"
24 sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" -i "${S}/share/rocm/cmake/ROCMInstallTargets.cmake" || die