# Tanım: OpenCL ICD Bindings
# URL: https://forge.imag.fr/projects/ocl-icd/
# Paketçi: milisarge
# Gerekler: ruby xorg-mesa ruby opencl-headers
# Grup: 

isim=ocl-icd
surum=2.2.12
devir=1
kaynak=(https://forge.imag.fr/frs/download.php/836/ocl-icd-$surum.tar.gz)

derle() {
  cd "$SRC/$isim-$surum"
  ./configure --prefix=/usr
  make
  make -k check
  make DESTDIR="$PKG/" install
  install -m755 -d "$PKG/usr/share/licenses/ocl-icd"
  install -m644 "$SRC/$isim-$surum/COPYING" "${PKG}/usr/share/licenses/ocl-icd/"
}
