From 17f24f5b217b81b62b7b708fe8826ef56f93cc10 Mon Sep 17 00:00:00 2001 From: Stuart Cardall Date: Sun, 24 Apr 2016 23:23:07 +0000 Subject: testing/opencl-headers: new aport --- testing/opencl-headers/APKBUILD | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/opencl-headers/APKBUILD (limited to 'testing/opencl-headers') diff --git a/testing/opencl-headers/APKBUILD b/testing/opencl-headers/APKBUILD new file mode 100644 index 0000000000..a3408adead --- /dev/null +++ b/testing/opencl-headers/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Stuart Cardall +# Maintainer: Stuart Cardall +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" -- cgit v1.2.3