blob: 91e1e8a6dda3f94ece1dddf328ecef2a3f72bf70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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:
|