diff --git a/sdk_container/src/third_party/portage-stable/app-admin/eselect-opencl/Manifest b/sdk_container/src/third_party/portage-stable/app-admin/eselect-opencl/Manifest new file mode 100644 index 0000000000..4d7bf2f898 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/eselect-opencl/Manifest @@ -0,0 +1,8 @@ +DIST cl.h.1.1.xz 6940 RMD160 697d52b04bba416c233433ff5b9cba47d7327631 SHA1 2092a622e1494f0a31c1371147bc87478226b44b SHA256 11b0249ec6c35000686cfe775b1789fa010b6d058e123b00c720e8408881f13f +DIST cl.hpp.1.1.xz 14764 RMD160 009ff35d03da82b8271785077d94f046193f91d6 SHA1 096b0e0fd42d841effa24c6323cf109aa2f6ecce SHA256 5d90ef4d964a6365d8e9305913c85dd0ffe6916df0a151a116b1b58b0e6c7ef4 +DIST cl_ext.h.1.1.xz 2740 RMD160 f2debb481b3f3c94cbca5a50bb77fb571c9538dd SHA1 f7c759f6d8077e6d1eb222d1acb4a9638bee4741 SHA256 aeb729345004bf67d2564e1dc55feb326ff017f3b291ffb8e1391de353e09620 +DIST cl_gl.h.1.1.xz 1856 RMD160 e92b5e843322c9e78f3fe72da43c1502109dc1f5 SHA1 3c4ad063ea5e4ee232b273cecbb85abf17dbf112 SHA256 eeddf3403c13776b3d13a25c9e47a01eee750c0120f74d402fad5d78b29f925a +DIST cl_gl_ext.h.1.1.xz 1356 RMD160 0ba4c5d6f3c1d119d7a8844abd43b83db987b565 SHA1 829ae549cdd0de3878626858fb041d5a424ebd96 SHA256 594e463e3a24e62870c5c1914b05e796aeda8892bf6830ee8db3f722993fdf02 +DIST cl_platform.h.1.1.xz 5584 RMD160 034d4be552aa3ddb6cc45718c5aa7a195d7f3f59 SHA1 bdc027789de959d1aa33e70de8af90dd103780d3 SHA256 2f70eb47285fd46f75d48476e90ee3b7e9ba62166bc573bbb35cb0f9d7a2ea53 +DIST eselect-opencl-1.1.0-r1.tar.xz 3276 RMD160 fb4286c58d95c9b839e3a24ee23b454a131e58f0 SHA1 59ed09d2059a2f48ce840ff4ac97106a799d854b SHA256 86a2f5f152e543046899989b3a12a065dfc357a2276ce06d69d19bdbf175fdea +DIST opencl.h.1.1.xz 944 RMD160 d9c8ee867a0068fbb05624d48d9e236d0f43acd3 SHA1 2b94aff101b7a3ee4261957b6d46edd6b81faf24 SHA256 c076e410eaffd9fbb056528f31a59fe1908481f0fd38981c13970727a0c4d096 diff --git a/sdk_container/src/third_party/portage-stable/app-admin/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-admin/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild new file mode 100644 index 0000000000..bd7210fba1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild,v 1.5 2012/05/16 14:43:18 aballier Exp $ + +EAPI=4 +CL_ABI=1.1 + +inherit multilib + +DESCRIPTION="Utility to change the OpenCL implementation being used" +HOMEPAGE="http://www.gentoo.org/" + +# Source: +# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp + +MIRROR="http://dev.gentoo.org/~xarthisius/distfiles/" +SRC_URI="${MIRROR}/opencl.h.${CL_ABI}.xz + ${MIRROR}/cl_platform.h.${CL_ABI}.xz + ${MIRROR}/cl.h.${CL_ABI}.xz + ${MIRROR}/cl_ext.h.${CL_ABI}.xz + ${MIRROR}/cl_gl.h.${CL_ABI}.xz + ${MIRROR}/cl_gl_ext.h.${CL_ABI}.xz + ${MIRROR}/cl.hpp.${CL_ABI}.xz + ${MIRROR}/${P}-r1.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="app-arch/xz-utils" +RDEPEND=">=app-admin/eselect-1.2.4" + +pkg_postinst() { + local impl="$(eselect opencl show)" + if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then + eselect opencl set "${impl}" + fi +} + +src_install() { + insinto /usr/share/eselect/modules + doins opencl.eselect + #doman opencl.eselect.5 + + local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl.hpp ) + insinto /usr/$(get_libdir)/OpenCL/global/include/CL + cd "${WORKDIR}" + for f in ${headers[@]}; do + newins ${f}.${CL_ABI} ${f} + done +} diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-admin/eselect-opencl-1.1.0-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-admin/eselect-opencl-1.1.0-r1 new file mode 100644 index 0000000000..e0e336c814 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-admin/eselect-opencl-1.1.0-r1 @@ -0,0 +1,12 @@ +DEFINED_PHASES=install postinst +DEPEND=app-arch/xz-utils +DESCRIPTION=Utility to change the OpenCL implementation being used +EAPI=4 +HOMEPAGE=http://www.gentoo.org/ +KEYWORDS=amd64 x86 ~amd64-fbsd ~x86-fbsd +LICENSE=GPL-2 +RDEPEND=>=app-admin/eselect-1.2.4 +SLOT=0 +SRC_URI=http://dev.gentoo.org/~xarthisius/distfiles//opencl.h.1.1.xz http://dev.gentoo.org/~xarthisius/distfiles//cl_platform.h.1.1.xz http://dev.gentoo.org/~xarthisius/distfiles//cl.h.1.1.xz http://dev.gentoo.org/~xarthisius/distfiles//cl_ext.h.1.1.xz http://dev.gentoo.org/~xarthisius/distfiles//cl_gl.h.1.1.xz http://dev.gentoo.org/~xarthisius/distfiles//cl_gl_ext.h.1.1.xz http://dev.gentoo.org/~xarthisius/distfiles//cl.hpp.1.1.xz http://dev.gentoo.org/~xarthisius/distfiles//eselect-opencl-1.1.0-r1.tar.xz +_eclasses_=multilib 5f4ad6cf85e365e8f0c6050ddd21659e toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68 +_md5_=9b9221e13948d5c0d0158f806d39a277