blob: 320fa9d854347c28d069fce59f7f0aa9123bb41f (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils cmake-utils
DESCRIPTION="A header-only C++ Computing Library for OpenCL"
HOMEPAGE="https://github.com/kylelutz/compute"
LICENSE="Boost-1.0"
SLOT="0"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/kylelutz/compute.git git://github.com/kylelutz/compute.git"
inherit git-r3
KEYWORDS=""
else
SRC_URI="https://github.com/kylelutz/compute/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/compute-${PV}"
fi
RDEPEND="
dev-libs/boost
virtual/opencl
"
DEPEND="${RDEPEND}"
|