diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-03-11 08:28:20 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-03-11 08:28:20 +0300 |
commit | 38f9845ef0d5b47cc5b4a1180627d31909c0345a (patch) | |
tree | 469e2d8a6c01c463e1e5d7cfcd1cdce9a5570d86 /dev-libs | |
parent | ce0b6b6846f68b27c10e1039c8074dd712dc2e48 (diff) |
a bit edited libclc from x11 repo
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libclc/libclc-scm.ebuild | 42 | ||||
-rw-r--r-- | dev-libs/libclc/metadata.xml | 5 |
2 files changed, 47 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 +} diff --git a/dev-libs/libclc/metadata.xml b/dev-libs/libclc/metadata.xml new file mode 100644 index 0000000..01c4c00 --- /dev/null +++ b/dev-libs/libclc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>x11</herd> +</pkgmetadata> |