mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
44 lines
1.6 KiB
Bash
44 lines
1.6 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=opencl-headers
|
|
pkgver=1.2
|
|
pkgrel=1
|
|
pkgdesc='OpenCL headers from Khronos.org'
|
|
arch=('any')
|
|
url='http://www.khronos.org/'
|
|
license=('GPL')
|
|
depends=()
|
|
optdepends=()
|
|
makedepends=()
|
|
source=("http://www.khronos.org/registry/cl/api/${pkgver}/opencl.h"
|
|
"http://www.khronos.org/registry/cl/api/${pkgver}/cl_platform.h"
|
|
"http://www.khronos.org/registry/cl/api/${pkgver}/cl.h"
|
|
"http://www.khronos.org/registry/cl/api/${pkgver}/cl_ext.h"
|
|
"http://www.khronos.org/registry/cl/api/${pkgver}/cl_gl.h"
|
|
"http://www.khronos.org/registry/cl/api/${pkgver}/cl_gl_ext.h"
|
|
"http://www.khronos.org/registry/cl/api/${pkgver}/cl.hpp")
|
|
md5sums=('8bc589e602246900e4435694d5bc4379'
|
|
'dc9c982bd3c8933a2379e3308ad07d6c'
|
|
'779c88ec7be5e7c74b1c8d40fc430d60'
|
|
'1e9627453c1760b9d918f63848b4fbea'
|
|
'636a57d956bbb8c9bed9eea122ebde65'
|
|
'8b58ea9e244c8817e66b62b5d533f1f0'
|
|
'1f2aa8e22ac102db704f4bd11f30f08a')
|
|
|
|
build() {
|
|
mkdir -p $pkgdir/usr/include/CL
|
|
install -m 644 $srcdir/opencl.h $pkgdir/usr/include/CL/
|
|
install -m 644 $srcdir/cl_platform.h $pkgdir/usr/include/CL/
|
|
install -m 644 $srcdir/cl.h $pkgdir/usr/include/CL/
|
|
install -m 644 $srcdir/cl_ext.h $pkgdir/usr/include/CL/
|
|
install -m 644 $srcdir/cl_gl.h $pkgdir/usr/include/CL/
|
|
install -m 644 $srcdir/cl_gl_ext.h $pkgdir/usr/include/CL/
|
|
install -m 644 $srcdir/cl.hpp $pkgdir/usr/include/CL/
|
|
}
|