blob: b23a78b1e9c337dfd169aeedd9d7eeb8d5ee2485 (
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
41
42
|
# 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
$pkgname-$pkgver-LICENSE::https://github.com/KhronosGroup/OpenCL-ICD-Loader/raw/master/LICENSE.txt
"
builddir="$srcdir"/$_pkgreal-$pkgver
build() {
return 0
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/include/CL
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
for h in $(ls -1 *.h); do
install -m 644 $h "$pkgdir"/usr/include/CL/
done
install -D -m644 ../$pkgname-$pkgver-LICENSE "$pkgdir"/usr/share/doc/$pkgname/LICENSE
}
md5sums="04a5b1a34d0ce47520f08625d97ccfea opencl-headers-2.1.tar.gz
ca6d58ec304a1ce6df094b52ca60c5ce opencl-headers-2.1-LICENSE"
sha256sums="5d80fe3d9324b635e09d8891297c3c67e30635727d8dee99b9f3cefa73bf762e opencl-headers-2.1.tar.gz
7c265341628a5f79ead4d8e00268649e16f2cb905ee21d713a2a0189cbd200b8 opencl-headers-2.1-LICENSE"
sha512sums="0c475a6d44877289792ef055ed83df82c846e3c56df8dd1d3903965d6f817d99a7eb29b752be435f75485584036cb90e79e3c2035e2ddc99e04f30c0ada97edd opencl-headers-2.1.tar.gz
d4bf5d67de13d6c67c935e4ada64469fba442d278a0469785d3d4221c94dec6b342ae703a30bd8b1510938d98afd9fb1813f3a14706037fb0f811466076154fb opencl-headers-2.1-LICENSE"
|