Commit 17f24f5b authored by Stuart Cardall's avatar Stuart Cardall Committed by Francesco Colista
Browse files

testing/opencl-headers: new aport

parent e749d7b2
# 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 *.hpp); do
install -m 644 $h "$pkgdir"/usr/include/CL/
done
install -D -m644 ../$pkgname-$pkgver-LICENSE "$pkgdir"/usr/share/doc/$pkgname/LICENSE
}
md5sums="c3294d2319cca738dbbc8eaca26f1bd3 opencl-headers-2.1.20151224.src.tar.xz
ca6d58ec304a1ce6df094b52ca60c5ce opencl-headers-2.1-LICENSE"
sha256sums="c1c6d4a3dacec98987943f1ad411437feca1ab6d954814fa4dead37d7e2647bf opencl-headers-2.1.20151224.src.tar.xz
7c265341628a5f79ead4d8e00268649e16f2cb905ee21d713a2a0189cbd200b8 opencl-headers-2.1-LICENSE"
sha512sums="4ec505bd5dfd8f50edd7c80519bf3848b5c02815ed7b6cf77626d6eb49164ed7f964863c1ad10e44894ed54a75b1c2a6f5f0a2f82a9147bef9c651392c2140cd opencl-headers-2.1.20151224.src.tar.xz
d4bf5d67de13d6c67c935e4ada64469fba442d278a0469785d3d4221c94dec6b342ae703a30bd8b1510938d98afd9fb1813f3a14706037fb0f811466076154fb opencl-headers-2.1-LICENSE"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment