diff --git a/srcpkgs/ocl-icd-devel b/srcpkgs/ocl-icd-devel new file mode 120000 index 00000000000..bcd9e7f6251 --- /dev/null +++ b/srcpkgs/ocl-icd-devel @@ -0,0 +1 @@ +ocl-icd \ No newline at end of file diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template index 55b394cded5..c689f525afc 100644 --- a/srcpkgs/ocl-icd/template +++ b/srcpkgs/ocl-icd/template @@ -1,7 +1,7 @@ # Template file for 'ocl-icd' pkgname=ocl-icd version=2.1.3 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="ruby" makedepends="opencl-headers" @@ -11,3 +11,17 @@ homepage="https://forge.imag.fr/projects/ocl-icd/" license="GPL-2" distfiles="https://forge.imag.fr/frs/download.php/524/ocl-icd-2.1.3.tar.gz" checksum="8338c6ae5cb7a9b34dfe79922f5e32c4f78c535a2217321dae842f72e0a2b175" + +provides="libOpenCL-${version}_${revision}" +replaces="libOpenCL>=0" + +ocl-icd-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + vmove usr/share + } +}