diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-02-18 16:22:30 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-02-18 16:22:43 +0100 |
commit | 21d74f4daaa41c61b18868d3b7d82f2610d154a4 (patch) | |
tree | 5199def14ef154f123cca4bfdc087404c5f69610 /dev-libs | |
parent | dev-python/discogs-client: Bump (diff) | |
download | gentoo-21d74f4daaa41c61b18868d3b7d82f2610d154a4.tar.gz gentoo-21d74f4daaa41c61b18868d3b7d82f2610d154a4.tar.bz2 gentoo-21d74f4daaa41c61b18868d3b7d82f2610d154a4.zip |
dev-libs/ocl-icd: Bump #575020
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/ocl-icd/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/ocl-icd/ocl-icd-2.2.8.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/ocl-icd/Manifest b/dev-libs/ocl-icd/Manifest index 42e089fc5a91..b9ecd2c294a6 100644 --- a/dev-libs/ocl-icd/Manifest +++ b/dev-libs/ocl-icd/Manifest @@ -1,2 +1,3 @@ DIST ocl-icd-2.1.3.tar.gz 419083 SHA256 8338c6ae5cb7a9b34dfe79922f5e32c4f78c535a2217321dae842f72e0a2b175 SHA512 5d0704bed8a664950131c985fc32ffe5e078874945642417122df79c66bad804307192db49a561330268664ceb59756b268cf52201b809398efe58c85f823ad3 WHIRLPOOL f2757e00dcd9d484b1536ebb6b776bf5b54cd3e13cfa1b56fc95ef1e71f3db36bdb4ff996b2ddfb18d63082ebfdf743b9aeb41ed76910020724cfde7839e741b 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.8.ebuild b/dev-libs/ocl-icd/ocl-icd-2.2.8.ebuild new file mode 100644 index 000000000000..20cd5fb8f16e --- /dev/null +++ b/dev-libs/ocl-icd/ocl-icd-2.2.8.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 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/698/${P}.tar.gz" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +DEPEND="dev-lang/ruby" +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}" +} |