summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-15 20:23:37 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-15 20:23:37 (GMT)
commit4e454c730bf862d57a9c40de6ac442f418d453bf (patch)
tree6dccbc980ff5296ee0b40ca5cc219e91f3f3ac8f /abs
parent8120e5f181e409077069d432431e248ab5072ca5 (diff)
downloadlinhes_pkgbuild-4e454c730bf862d57a9c40de6ac442f418d453bf.zip
linhes_pkgbuild-4e454c730bf862d57a9c40de6ac442f418d453bf.tar.gz
linhes_pkgbuild-4e454c730bf862d57a9c40de6ac442f418d453bf.tar.bz2
ocl-icd: initial inclusion. dep of libmagic6
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/ocl-icd/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/extra/ocl-icd/PKGBUILD b/abs/extra/ocl-icd/PKGBUILD
new file mode 100644
index 0000000..91e1e8a
--- /dev/null
+++ b/abs/extra/ocl-icd/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+
+pkgname=ocl-icd
+pkgver=2.2.12
+_pkgver=836
+pkgrel=1
+pkgdesc="OpenCL ICD Bindings"
+arch=('x86_64')
+url="https://forge.imag.fr/projects/ocl-icd/"
+license=('BSD')
+depends=('glibc')
+makedepends=('ruby' 'mesa' 'opencl-headers>=2.1')
+checkdepends=()
+provides=('opencl-icd-loader')
+conflicts=('libcl')
+replaces=('libcl')
+optdepends=('opencl-driver: packaged opencl driver')
+source=(https://forge.imag.fr/frs/download.php/$_pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('7665f368354e3d2b7787ba4a23c6f061db1181195ba1914dd1cdcd462eca4df4')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+# fail in i686
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ install -m755 -d "$pkgdir/usr/share/licenses/ocl-icd"
+ install -m644 "$srcdir/$pkgname-$pkgver/COPYING" "${pkgdir}/usr/share/licenses/ocl-icd/"
+}
+
+# vim:set ts=2 sw=2 et: