blob: 8e6ae1c634df796ee0d69084b070d99ff653af92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=opencl-headers
pkgver=2.1
_pkgreal=OpenCL-Headers
pkgrel=0
pkgdesc="OpenCL (Open Computing Language) header files"
url="https://www.khronos.org/registry/cl/"
arch="noarch"
license="custom"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/itoffshore/OpenCL-Headers/archive/$pkgver.tar.gz
LICENSE.txt
"
builddir="$srcdir"/$_pkgreal-$pkgver
build() {
return 0
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/include/CL \
"$pkgdir"/usr/share/doc/$pkgname
for h in $(ls -1 *.h); do
install -m 644 $h "$pkgdir"/usr/include/CL/
done
install -D -m644 ../LICENSE.txt \
"$pkgdir"/usr/share/doc/$pkgname/LICENSE
}
sha512sums="0c475a6d44877289792ef055ed83df82c846e3c56df8dd1d3903965d6f817d99a7eb29b752be435f75485584036cb90e79e3c2035e2ddc99e04f30c0ada97edd opencl-headers-2.1.tar.gz
9f5623f6c20a3e1c5b98f61499b91bb6e8b1cf8bcf2b0a986e2fa4474a2f2a7a6e9d122d2a0262d7c7b19adf4d32fb8cf4e99700984ceb6fbaef03426bb3834b LICENSE.txt"
|