summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-08-25 10:03:28 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-08-25 10:03:28 +0000
commit9410883fddd8d2b6431333f0ac84285d04fa5e9d (patch)
tree255d0320a3e4d78fdd1fcdf58faea5fa63a21b6e /dev-libs/libclc
parentBump (diff)
downloadgentoo-2-9410883fddd8d2b6431333f0ac84285d04fa5e9d.tar.gz
gentoo-2-9410883fddd8d2b6431333f0ac84285d04fa5e9d.tar.bz2
gentoo-2-9410883fddd8d2b6431333f0ac84285d04fa5e9d.zip
New snapshot.
(Portage version: 2.1.12.2/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs/libclc')
-rw-r--r--dev-libs/libclc/ChangeLog8
-rw-r--r--dev-libs/libclc/libclc-0.0.1_pre20130819.ebuild49
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-libs/libclc/ChangeLog b/dev-libs/libclc/ChangeLog
index cdb4bddf7747..2ba8ca6f4d10 100644
--- a/dev-libs/libclc/ChangeLog
+++ b/dev-libs/libclc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libclc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libclc/ChangeLog,v 1.2 2013/07/29 15:10:29 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libclc/ChangeLog,v 1.3 2013/08/25 10:03:28 chithanh Exp $
+
+*libclc-0.0.1_pre20130819 (25 Aug 2013)
+
+ 25 Aug 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +libclc-0.0.1_pre20130819.ebuild:
+ New snapshot.
29 Jul 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
libclc-0.0.1_pre20130524.ebuild:
diff --git a/dev-libs/libclc/libclc-0.0.1_pre20130819.ebuild b/dev-libs/libclc/libclc-0.0.1_pre20130819.ebuild
new file mode 100644
index 000000000000..66c23bc0053e
--- /dev/null
+++ b/dev-libs/libclc/libclc-0.0.1_pre20130819.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libclc/libclc-0.0.1_pre20130819.ebuild,v 1.1 2013/08/25 10:03:28 chithanh Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+
+EGIT_REPO_URI="http://llvm.org/git/${PN}.git"
+
+if [[ ${PV} = 9999* ]]; then
+ GIT_ECLASS="git-2"
+ EXPERIMENTAL="true"
+fi
+
+inherit base python-any-r1 $GIT_ECLASS
+
+DESCRIPTION="OpenCL C library"
+HOMEPAGE="http://libclc.llvm.org/"
+
+if [[ $PV = 9999* ]]; then
+ SRC_URI="${SRC_PATCHES}"
+else
+ SRC_URI="mirror://gentoo/${P}.tar.xz ${SRC_PATCHES}"
+fi
+
+LICENSE="|| ( MIT BSD )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=sys-devel/clang-3.2
+ >=sys-devel/llvm-3.2"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ if [[ $PV = 9999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_configure() {
+ ./configure.py \
+ --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
+ --prefix="${EPREFIX}/usr"
+}