aboutsummaryrefslogtreecommitdiffstats
path: root/community/opencl-headers
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-08-18 20:46:53 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-21 22:24:04 +0200
commit5c9f3ca3e307be53b45beeed2ce1626f38008625 (patch)
tree919836fe454e953f46685adf8228b0401280d4b6 /community/opencl-headers
parent6a00a953ba02bab6440a2c784e7db37c6eaeace1 (diff)
downloadaports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.bz2
aports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.xz
testing/[various]: move to community
albatross-themes apk-post-messages autossh bitcoin btrbk entr ffmpegthumbnailer firejail firetools fwsnort gnome-colors imapsync inetutils-syslogd inotify-tools-inc isync junit ktsuss letsencrypt-nosudo libmbim libndp libqmi libteam mini-sendmail modemmanager namecoin networkmanager nginx-naxsi numix-themes nxapi opencl-headers opencl-icd-loader opus-tools perl-authen-ntlm perl-bit-vector perl-data-uniqid perl-file-copy-recursive perl-getopt-argvfile perl-io-tee perl-iptables-chainmgr perl-iptables-parse perl-module-scandeps perl-par-dist perl-par-packer perl-par perl-uri-escape psad py-crcmod py-graphviz py-lz4 py-opencl py-opengl-accelerate runit secpwgen secure-delete socklog spacefm tinyssh udevil virt-viewer virtualbricks whois wrk xpra zram-init
Diffstat (limited to 'community/opencl-headers')
-rw-r--r--community/opencl-headers/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/opencl-headers/APKBUILD b/community/opencl-headers/APKBUILD
new file mode 100644
index 0000000000..b23a78b1e9
--- /dev/null
+++ b/community/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); 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"