diff options
author | Craig Andrews <candrews@gentoo.org> | 2019-07-25 15:45:30 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-08-07 13:38:45 -0400 |
commit | 8f1b624402f001aab885c4cb1f88d022f3ef25db (patch) | |
tree | b3496ddfab9045eda796c57b74c82b94381228d4 /dev-util | |
parent | dev-libs/rocr-runtime: add -9999 version (diff) | |
download | gentoo-8f1b624402f001aab885c4cb1f88d022f3ef25db.tar.gz gentoo-8f1b624402f001aab885c4cb1f88d022f3ef25db.tar.bz2 gentoo-8f1b624402f001aab885c4cb1f88d022f3ef25db.zip |
dev-util/rocm-cmake: Radeon Open Compute CMake Modules
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/rocm-cmake/Manifest | 1 | ||||
-rw-r--r-- | dev-util/rocm-cmake/metadata.xml | 14 | ||||
-rw-r--r-- | dev-util/rocm-cmake/rocm-cmake-0.2.ebuild | 25 | ||||
-rw-r--r-- | dev-util/rocm-cmake/rocm-cmake-9999.ebuild | 25 |
4 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/rocm-cmake/Manifest b/dev-util/rocm-cmake/Manifest new file mode 100644 index 000000000000..24991e568f19 --- /dev/null +++ b/dev-util/rocm-cmake/Manifest @@ -0,0 +1 @@ +DIST rocm-cmake-0.2.tar.gz 12729 BLAKE2B 6380e077cdc0dcc8c40c487789bd4405a9104e0c55e68df0587c74ea140c329b28ef224bea0d9d529ddaca2c3b874e64be840f96191b8bae7d662de5854756b6 SHA512 b2ebd749fb99ac6dbeac005bb0de5ca57e12ae3590d560c0fd03371f2dd0fc6e7862e0bc96046b98b8248770852c6ee64dd349f22405e77d8a210884246213bd diff --git a/dev-util/rocm-cmake/metadata.xml b/dev-util/rocm-cmake/metadata.xml new file mode 100644 index 000000000000..a82bb12bfd85 --- /dev/null +++ b/dev-util/rocm-cmake/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <upstream> + <remote-id type="github">RadeonOpenCompute/rocm-cmake</remote-id> + </upstream> + <longdescription lang="en"> + Radeon Open Compute CMake Modules + </longdescription> +</pkgmetadata> diff --git a/dev-util/rocm-cmake/rocm-cmake-0.2.ebuild b/dev-util/rocm-cmake/rocm-cmake-0.2.ebuild new file mode 100644 index 000000000000..eee840d3674b --- /dev/null +++ b/dev-util/rocm-cmake/rocm-cmake-0.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocm-cmake/" + inherit git-r3 +else + SRC_URI="https://github.com/RadeonOpenCompute/rocm-cmake/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute CMake Modules" +HOMEPAGE="https://github.com/RadeonOpenCompute/rocm-cmake" +LICENSE="MIT" +SLOT="0" +RESTRICT="test" + +src_prepare() { + sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" -i "${S}/share/rocm/cmake/ROCMInstallTargets.cmake" || die + cmake-utils_src_prepare +} diff --git a/dev-util/rocm-cmake/rocm-cmake-9999.ebuild b/dev-util/rocm-cmake/rocm-cmake-9999.ebuild new file mode 100644 index 000000000000..eee840d3674b --- /dev/null +++ b/dev-util/rocm-cmake/rocm-cmake-9999.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocm-cmake/" + inherit git-r3 +else + SRC_URI="https://github.com/RadeonOpenCompute/rocm-cmake/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute CMake Modules" +HOMEPAGE="https://github.com/RadeonOpenCompute/rocm-cmake" +LICENSE="MIT" +SLOT="0" +RESTRICT="test" + +src_prepare() { + sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" -i "${S}/share/rocm/cmake/ROCMInstallTargets.cmake" || die + cmake-utils_src_prepare +} |