diff options
Diffstat (limited to 'dev-libs/ocl-icd')
-rw-r--r-- | dev-libs/ocl-icd/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/ocl-icd/ocl-icd-2.2.11.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/ocl-icd/Manifest b/dev-libs/ocl-icd/Manifest index b9ecd2c294a6..970f93087c4b 100644 --- a/dev-libs/ocl-icd/Manifest +++ b/dev-libs/ocl-icd/Manifest @@ -1,3 +1,4 @@ DIST ocl-icd-2.1.3.tar.gz 419083 SHA256 8338c6ae5cb7a9b34dfe79922f5e32c4f78c535a2217321dae842f72e0a2b175 SHA512 5d0704bed8a664950131c985fc32ffe5e078874945642417122df79c66bad804307192db49a561330268664ceb59756b268cf52201b809398efe58c85f823ad3 WHIRLPOOL f2757e00dcd9d484b1536ebb6b776bf5b54cd3e13cfa1b56fc95ef1e71f3db36bdb4ff996b2ddfb18d63082ebfdf743b9aeb41ed76910020724cfde7839e741b +DIST ocl-icd-2.2.11.tar.gz 455800 SHA256 02fa41da98ae2807e92742196831d320e3fc2f4cb1118d0061d9f51dda867730 SHA512 54d6a281f0fc04858323ef8d1764c5d2276d9a003853d5af5821a6dd24c74a744da0ff2204179a5877d0e3f156d03c83236797cd5ca88e6897457c75da6713cd WHIRLPOOL 23ad2e481062fa1d1b40ff422554bac3f3ad8c9bb577993ed0ee501e7fca38efa0f0ea0dc08e9032b68b55a83b24dc1b44d642eb340f1aef671d4b723ed30941 DIST ocl-icd-2.2.3.tar.gz 446966 SHA256 93a5ac3b23fb10731cc9e6406a58f7a21825562877787ed08c3a41f08b504d0c SHA512 da890da32cd61e42f610df472ac651d47edb1b014d98c25a778551fe6973bdb47753417b2eeab220a07f2862468845e3ac31a2e9631eac5eed05153f09da2cb9 WHIRLPOOL 1025d9b10d0140777d50abef5049df033b5a3f405807997eef3c3d88c7d4c1bd568316a20a40f936eb253da5b473aedbc764702bf5145c6c4203d85b6b420239 DIST ocl-icd-2.2.8.tar.gz 452374 SHA256 25360a62a80558f3128164510b53ee00713a54db45de2faa1b6f4bd28191a184 SHA512 4d0364616c105ec421a39cc6a38b3a835a63280188a1e19f595eff655d50581ab1af83d2aa26fec956d33b5f492789797b3a05e29897e4342d38521d8902da96 WHIRLPOOL 89479c3bfcc366c67b7ff4bb04b4d4982cabd61984dab4e341b3b493c9676b0283e1d9960e0e0bd300330caf7b072d4a3d6a32fd3fbcbd8942428d5c80fe1cc5 diff --git a/dev-libs/ocl-icd/ocl-icd-2.2.11.ebuild b/dev-libs/ocl-icd/ocl-icd-2.2.11.ebuild new file mode 100644 index 000000000000..cbf3744a49fb --- /dev/null +++ b/dev-libs/ocl-icd/ocl-icd-2.2.11.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib + +DESCRIPTION="Alternative to vendor specific OpenCL ICD loaders" +HOMEPAGE="http://forge.imag.fr/projects/ocl-icd/" +SRC_URI="https://forge.imag.fr/frs/download.php/814/${P}.tar.gz" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +DEPEND="dev-lang/ruby + dev-ruby/rubygems" +RDEPEND="app-eselect/eselect-opencl" + +src_prepare() { + echo "/usr/$(get_libdir)/OpenCL/vendors/ocl-icd/libOpenCL.so" > ocl-icd.icd +} + +src_install() { + insinto /etc/OpenCL/vendors/ + doins ocl-icd.icd + + emake DESTDIR="${D}" install + + OCL_DIR="${D}"/usr/"$(get_libdir)"/OpenCL/vendors/ocl-icd/ + mkdir -p ${OCL_DIR} || die "mkdir failed" + + mv "${D}/usr/$(get_libdir)"/libOpenCL* "${OCL_DIR}" +} |