summaryrefslogtreecommitdiff
path: root/libs/ocl-icd/MAKEPKG
blob: bb932fcdf0949ef2758951683c9bcf13860018b6 (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
#!/bin/mkpkg
# description: OpenCL ICD Loader (Installable Client Driver)
# url: https://github.com/OCL-dev/ocl-icd

name=ocl-icd
version=2.3.5
release=1
depends=()
makedeps=(autoconf automake libtool ruby)
source=(https://github.com/OCL-dev/ocl-icd/archive/refs/tags/v$version.tar.gz)
renames=(ocl-icd-$version.tar.gz)
sha256sums=(
    "cdd7984425fa92d37273eee4180b5f57b047eda6dd8fd623e58498f844b09b75"
)

build() {
    cd ocl-icd-$version

    ./bootstrap

    ./configure \
        --prefix=/usr \
        --libdir=/usr/lib \
        --disable-static \
        --enable-official-khronos-headers

    make
    make DESTDIR=$PKG install
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh