blob: baa33caadb732f89137e281a0ce4e4442e4a92f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit multilib-build readme.gentoo-r1
DESCRIPTION="Virtual for OpenCL API"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="|| ( dev-libs/ocl-icd[khronos-headers,${MULTILIB_USEDEP}]
dev-libs/opencl-icd-loader[${MULTILIB_USEDEP}] )"
# so that src_install() doesn't fail on missing directory
S="${WORKDIR}"
src_install() {
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
|