diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2016-04-24 23:23:07 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-05 13:54:04 +0000 |
commit | 17f24f5b217b81b62b7b708fe8826ef56f93cc10 (patch) | |
tree | cfe48477d74bb116b43ce5f199781813943e612c /testing/opencl-headers | |
parent | e749d7b2aac02c6f51aa5c69b13407bce08ce2e1 (diff) | |
download | aports-17f24f5b217b81b62b7b708fe8826ef56f93cc10.tar.bz2 aports-17f24f5b217b81b62b7b708fe8826ef56f93cc10.tar.xz |
testing/opencl-headers: new aport
Diffstat (limited to 'testing/opencl-headers')
-rw-r--r-- | testing/opencl-headers/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
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 <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" |