diff options
author | Patrick Lauer <patrick@gentoo.org> | 2015-03-17 02:59:06 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2015-03-17 02:59:06 +0000 |
commit | dcb78b7b9724b102c59d0f028625a5242cc849d8 (patch) | |
tree | 0d569c9bb24b5cbbeeffb66247149b4e4f497535 /dev-libs/ocl-icd | |
parent | Add to the enlightenment herd. (diff) | |
download | gentoo-2-dcb78b7b9724b102c59d0f028625a5242cc849d8.tar.gz gentoo-2-dcb78b7b9724b102c59d0f028625a5242cc849d8.tar.bz2 gentoo-2-dcb78b7b9724b102c59d0f028625a5242cc849d8.zip |
Bump
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs/ocl-icd')
-rw-r--r-- | dev-libs/ocl-icd/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/ocl-icd/ocl-icd-2.2.3.ebuild | 35 |
2 files changed, 41 insertions, 1 deletions
diff --git a/dev-libs/ocl-icd/ChangeLog b/dev-libs/ocl-icd/ChangeLog index 57794b5d1a33..b1b1407450e9 100644 --- a/dev-libs/ocl-icd/ChangeLog +++ b/dev-libs/ocl-icd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/ocl-icd # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ocl-icd/ChangeLog,v 1.1 2015/03/17 02:16:41 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ocl-icd/ChangeLog,v 1.2 2015/03/17 02:59:06 patrick Exp $ + +*ocl-icd-2.2.3 (17 Mar 2015) + + 17 Mar 2015; Patrick Lauer <patrick@gentoo.org> +ocl-icd-2.2.3.ebuild: + Bump *ocl-icd-2.1.3 (17 Mar 2015) diff --git a/dev-libs/ocl-icd/ocl-icd-2.2.3.ebuild b/dev-libs/ocl-icd/ocl-icd-2.2.3.ebuild new file mode 100644 index 000000000000..7d9aadcf9a5f --- /dev/null +++ b/dev-libs/ocl-icd/ocl-icd-2.2.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ocl-icd/ocl-icd-2.2.3.ebuild,v 1.1 2015/03/17 02:59:06 patrick Exp $ + +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/598/${P}.tar.gz" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +DEPEND="dev-lang/ruby" +RDEPEND="app-admin/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}" +} |