blob: 591ffeab9c9b23063f0e97046bc8971f5cd96142 (
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
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header$
EAPI=4
DESCRIPTION="OpenCL headers from Khronos.org"
HOMEPAGE="http://www.khronos.org/"
SRC_URI="http://www.khronos.org/registry/cl/api/${PV}/opencl.h
http://www.khronos.org/registry/cl/api/${PV}/cl_platform.h
http://www.khronos.org/registry/cl/api/${PV}/cl.h
http://www.khronos.org/registry/cl/api/${PV}/cl_ext.h
http://www.khronos.org/registry/cl/api/${PV}/cl_d3d10.h
http://www.khronos.org/registry/cl/api/${PV}/cl_gl.h
http://www.khronos.org/registry/cl/api/${PV}/cl_gl_ext.h
http://www.khronos.org/registry/cl/api/${PV}/cl.hpp"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror"
HEADERS=( opencl.h cl_platform.h cl.h cl_ext.h cl_d3d10.h cl_gl.h cl_gl_ext.h cl.hpp )
src_unpack() {
mkdir "${S}" || die
for f in ${HEADERS[@]}; do
cp "${DISTDIR}"/${f} "${S}"
done
}
src_install() {
insinto /usr/include/CL
doins *
}
|