summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/opencl-headers
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-01 18:06:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-01 18:06:35 (GMT)
commit77307464f5b324bd8b7ec463482be79c5ebbaff6 (patch)
tree17307a0b78c59a2cef7815e8c531a028aa2a3ade /abs/extra/community/opencl-headers
parenta80673e5ddf82ef739baa9782c9d062df0da9182 (diff)
downloadlinhes_pkgbuild-77307464f5b324bd8b7ec463482be79c5ebbaff6.zip
linhes_pkgbuild-77307464f5b324bd8b7ec463482be79c5ebbaff6.tar.gz
linhes_pkgbuild-77307464f5b324bd8b7ec463482be79c5ebbaff6.tar.bz2
moved from community to openal, because non-community things depend on them:
nvidia-cg-toolkit openal opencl-head wiiuse
Diffstat (limited to 'abs/extra/community/opencl-headers')
-rw-r--r--abs/extra/community/opencl-headers/LICENSE.txt20
-rw-r--r--abs/extra/community/opencl-headers/PKGBUILD53
2 files changed, 0 insertions, 73 deletions
diff --git a/abs/extra/community/opencl-headers/LICENSE.txt b/abs/extra/community/opencl-headers/LICENSE.txt
deleted file mode 100644
index a89e4f5..0000000
--- a/abs/extra/community/opencl-headers/LICENSE.txt
+++ /dev/null
@@ -1,20 +0,0 @@
- * Copyright (c) 2008-2010 The Khronos Group Inc.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and/or associated documentation files (the
- * "Materials"), to deal in the Materials without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Materials, and to
- * permit persons to whom the Materials are furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be included
- * in all copies or substantial portions of the Materials.
- *
- * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
diff --git a/abs/extra/community/opencl-headers/PKGBUILD b/abs/extra/community/opencl-headers/PKGBUILD
deleted file mode 100644
index 0a21ce2..0000000
--- a/abs/extra/community/opencl-headers/PKGBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# $Id: PKGBUILD 60629 2011-12-15 19:18:50Z stephane $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Sylvain HENRY <hsyl20@yahoo.fr>
-
-pkgname=opencl-headers
-pkgver=1.1.20110526
-_clbasever=1.1
-pkgrel=1
-epoch=1
-pkgdesc='OpenCL (Open Computing Language) header files'
-arch=('any')
-url='http://www.khronos.org/registry/cl/'
-license=('custom')
-optdepends=('libcl: OpenCL library')
-source=("ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.src.tar.xz"
- 'LICENSE.txt')
-_headers=("http://www.khronos.org/registry/cl/api/${_clbasever}/cl_ext.h"
- "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_gl_ext.h"
- "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_gl.h"
- "http://www.khronos.org/registry/cl/api/${_clbasever}/cl.h"
- "http://www.khronos.org/registry/cl/api/${_clbasever}/cl.hpp"
- "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_platform.h"
- "http://www.khronos.org/registry/cl/api/${_clbasever}/opencl.h")
-sha1sums=('b9deedbae4f87fa0987ca7b2347f68d608284a02'
- '98abb35b2eca82d0fc19db6d28fcc7bd20be0655')
-
-# source PKGBUILD && mksource
-mksource() {
- cd "${srcdir}"
- _dirname=${pkgname}-${pkgver}
- mkdir ${_dirname}
-
- pushd ${_dirname}
- for _h in ${_headers[@]}; do
- wget ${_h}
- done
- popd
-
- tar -cJv --exclude=CVS -f ${_dirname}.src.tar.xz ${_dirname}
- rm -rf ${_dirname}
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- install -dm755 "${pkgdir}"/usr/include/CL
-
- for h in $(ls -1 *.h *.hpp); do
- install -m 644 ${h} "${pkgdir}"/usr/include/CL/
- done
-
- install -D -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}