1 |
commit: b9d1af930686e9d6ff3b885d3d6e50004898b404 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 2 16:47:37 2012 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 2 16:49:41 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=b9d1af93 |
7 |
|
8 |
Add libclc |
9 |
|
10 |
(Portage version: 2.2.0_alpha109/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
dev-libs/libclc/libclc-9999.ebuild | 37 ++++++++++++++++++++++++++++++++++++ |
14 |
dev-libs/libclc/metadata.xml | 5 ++++ |
15 |
2 files changed, 42 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libclc/libclc-9999.ebuild b/dev-libs/libclc/libclc-9999.ebuild |
18 |
new file mode 100644 |
19 |
index 0000000..d8b7ed4 |
20 |
--- /dev/null |
21 |
+++ b/dev-libs/libclc/libclc-9999.ebuild |
22 |
@@ -0,0 +1,37 @@ |
23 |
+# Copyright 1999-2012 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Header: $ |
26 |
+ |
27 |
+EAPI=4 |
28 |
+ |
29 |
+EGIT_REPO_URI="git://people.freedesktop.org/~tstellar/${PN}" |
30 |
+ |
31 |
+if [[ ${PV} = 9999* ]]; then |
32 |
+ GIT_ECLASS="git-2" |
33 |
+ EXPERIMENTAL="true" |
34 |
+fi |
35 |
+ |
36 |
+inherit $GIT_ECLASS |
37 |
+ |
38 |
+DESCRIPTION="OpenCL C library" |
39 |
+HOMEPAGE="http://libclc.llvm.org/" |
40 |
+ |
41 |
+if [[ $PV = 9999* ]]; then |
42 |
+ SRC_URI="${SRC_PATCHES}" |
43 |
+else |
44 |
+ SRC_URI="" |
45 |
+fi |
46 |
+ |
47 |
+LICENSE="MIT BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=sys-devel/clang-3.1 |
54 |
+ >=sys-devel/llvm-3.1" |
55 |
+DEPEND="${RDEPEND}" |
56 |
+ |
57 |
+src_configure() { |
58 |
+ ./configure.py --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" |
59 |
+} |
60 |
|
61 |
diff --git a/dev-libs/libclc/metadata.xml b/dev-libs/libclc/metadata.xml |
62 |
new file mode 100644 |
63 |
index 0000000..01c4c00 |
64 |
--- /dev/null |
65 |
+++ b/dev-libs/libclc/metadata.xml |
66 |
@@ -0,0 +1,5 @@ |
67 |
+<?xml version="1.0" encoding="UTF-8"?> |
68 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
69 |
+<pkgmetadata> |
70 |
+<herd>x11</herd> |
71 |
+</pkgmetadata> |