summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2015-03-17 03:41:56 +0000
committerPatrick Lauer <patrick@gentoo.org>2015-03-17 03:41:56 +0000
commit4ea7de22b0280c462161616f659d1ae7566db158 (patch)
treef2466650ce8a76714ea2da3d76322b96e9551eed /dev-lang/pocl
parentRemove unneeded useflag descriptions from metadata.xml (diff)
downloadgentoo-2-4ea7de22b0280c462161616f659d1ae7566db158.tar.gz
gentoo-2-4ea7de22b0280c462161616f659d1ae7566db158.tar.bz2
gentoo-2-4ea7de22b0280c462161616f659d1ae7566db158.zip
Initial commit, ebuild by me
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lang/pocl')
-rw-r--r--dev-lang/pocl/ChangeLog9
-rw-r--r--dev-lang/pocl/Manifest3
-rw-r--r--dev-lang/pocl/metadata.xml8
-rw-r--r--dev-lang/pocl/pocl-0.11.ebuild32
4 files changed, 52 insertions, 0 deletions
diff --git a/dev-lang/pocl/ChangeLog b/dev-lang/pocl/ChangeLog
new file mode 100644
index 000000000000..4f9e5ab9ea51
--- /dev/null
+++ b/dev-lang/pocl/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-lang/pocl
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/pocl/ChangeLog,v 1.1 2015/03/17 03:41:56 patrick Exp $
+
+*pocl-0.11 (17 Mar 2015)
+
+ 17 Mar 2015; Patrick Lauer <patrick@gentoo.org> +metadata.xml,
+ +pocl-0.11.ebuild:
+ Initial commit, ebuild by me
diff --git a/dev-lang/pocl/Manifest b/dev-lang/pocl/Manifest
new file mode 100644
index 000000000000..dc4384336ec5
--- /dev/null
+++ b/dev-lang/pocl/Manifest
@@ -0,0 +1,3 @@
+DIST pocl-0.11.tar.gz 1561743 SHA256 24bb801fb87d104b66faaa95d1890776fdeabb37ad1b12fb977281737c7f29bb SHA512 052cbac36a12a5b015779740c45b64adde5fa58a090f298b69de1df3ac9875d7bfc6dfe9f7ae95d14d974d7b44dc64e53ce6ad3a9b8e74708d546ef6e1032151 WHIRLPOOL 860a87904408eb7394e126bf5c8cab619d8f1d48a57440e9d73f585c5eaa1a70e53c5843f4ffbaa742447cd0e8ebf9c11fc0917357f6af203ecb1c3c48c0fa87
+EBUILD pocl-0.11.ebuild 790 SHA256 28b526fa353f2460172e6da1f1604f5902c6d2a6765bc9b3c51cee32ed97341c SHA512 7f441913f0fb5c40735e4efbaa4104e9c2b5761c56d4dd29c10f32ce6f81884f18f62de7e984711c16aa89b0ff6f9ab4fb1e214a77cfe6b79850bd8fe5ce60bb WHIRLPOOL 1fd064b544be86819f9a38d61ebe9b0311f0f2ac2f549e94e39504a348f0a2be3fe2e1edc45dcaf7be7ae93501f4068388defbfcfebe08c9c8edf72d0cb8ca22
+MISC metadata.xml 239 SHA256 57c79f6c1b1b06b8d90265f1cc0affe89b5548b63e811f0313bfb2a0a0aa201a SHA512 1898d4e8bb4f02ffdad555a095ee76f934bd6ee1f914564eac1932f0dd96f26a52f47047324ed0a81009516a84bf72e1b10922fa751f322abf17517f84f62156 WHIRLPOOL 7375ace29b0d9c7e945e141c09b70c79599780bc9d3478e59fbc85dc4330aeda6bf2bb54fde24d25feb181f88618e11e022a90674d1f26ff9ef692bd698ff754
diff --git a/dev-lang/pocl/metadata.xml b/dev-lang/pocl/metadata.xml
new file mode 100644
index 000000000000..6719fcd2bb35
--- /dev/null
+++ b/dev-lang/pocl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-lang/pocl/pocl-0.11.ebuild b/dev-lang/pocl/pocl-0.11.ebuild
new file mode 100644
index 000000000000..7933ef928233
--- /dev/null
+++ b/dev-lang/pocl/pocl-0.11.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/pocl/pocl-0.11.ebuild,v 1.1 2015/03/17 03:41:56 patrick Exp $
+
+EAPI=5
+
+DESCRIPTION="PortableCL: opensource implementation of the OpenCL standard"
+HOMEPAGE="http://portablecl.org/"
+SRC_URI="http://portablecl.org/downloads/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-libs/ocl-icd
+ =sys-devel/llvm-3.6*
+ sys-apps/hwloc"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_pretend() {
+ # Needs an OpenCL 1.2 ICD, mesa and nvidia are invalid
+ # Maybe ati works, feel free to add/fix if you can test
+ if [[ $(eselect opencl show) == 'ocl-icd' ]]; then
+ einfo "Valid OpenCL ICD set"
+ else
+ eerror "Please use a supported ICD:"
+ eerror "eselect set ocl-icd"
+ die "OpenCL ICD not set to a supported value"
+ fi
+}