1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 )
7 EGIT_REPO_URI="http://llvm.org/git/${PN}.git
8 https://github.com/llvm-mirror/${PN}.git"
9 EGIT_COMMIT="520743b0b72862a987ead6213dc1a5321a2010f9"
11 if [[ ${PV} = 9999* ]]; then
15 GIT_ECLASS="vcs-snapshot"
18 inherit python-any-r1 ${GIT_ECLASS}
20 DESCRIPTION="OpenCL C library"
21 HOMEPAGE="http://libclc.llvm.org/"
23 if [[ ${PV} = 9999* ]]; then
24 SRC_URI="${SRC_PATCHES}"
26 SRC_URI="https://github.com/llvm-mirror/libclc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
30 LICENSE="|| ( MIT BSD )"
43 --with-llvm-config="$(type -P llvm-config)" \
44 --prefix="${EPREFIX}/usr" || die