summaryrefslogtreecommitdiff
path: root/dev-libs/libclc/libclc-scm.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libclc/libclc-scm.ebuild')
-rw-r--r--dev-libs/libclc/libclc-scm.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/libclc/libclc-scm.ebuild b/dev-libs/libclc/libclc-scm.ebuild
new file mode 100644
index 0000000..af5a260
--- /dev/null
+++ b/dev-libs/libclc/libclc-scm.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+EGIT_REPO_URI="http://llvm.org/git/${PN}.git"
+
+GIT_ECLASS="git-r3"
+EXPERIMENTAL="true"
+
+inherit python-any-r1 $GIT_ECLASS
+
+DESCRIPTION="OpenCL C library"
+HOMEPAGE="http://libclc.llvm.org/"
+
+SRC_URI="${SRC_PATCHES}"
+
+LICENSE="|| ( MIT BSD )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ >=sys-devel/clang-3.9
+ >=sys-devel/llvm-3.9"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}"
+
+src_unpack() {
+ git-r3_src_unpack
+}
+
+src_configure() {
+ ./configure.py \
+ --prefix="${EPREFIX}/usr" || die
+}
+
+src_compile() {
+ emake VERBOSE=1
+}