2018-03-27 15:14:24 +03:00
|
|
|
# Copyright 1999-2018 Gentoo Foundation
|
2017-10-26 09:33:38 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
|
|
EGIT_REPO_URI="https://github.com/Oblomov/clinfo.git"
|
|
|
|
inherit git-r3
|
|
|
|
SRC_URI=""
|
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/Oblomov/clinfo/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="A tool to display info about the system's OpenCL capabilities"
|
|
|
|
HOMEPAGE="https://github.com/Oblomov/clinfo"
|
|
|
|
LICENSE="CC0-1.0"
|
|
|
|
SLOT="0"
|
|
|
|
|
2018-03-27 15:14:24 +03:00
|
|
|
DEPEND=">=app-eselect/eselect-opencl-1.1.0-r4
|
|
|
|
virtual/opencl"
|
2017-10-26 09:33:38 +03:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake MANDIR="${ED}"/usr/share/man PREFIX="${ED}"/usr install
|
|
|
|
}
|