ocl-icd: provides/replaces libOpenCL; add -devel subpkg.

This commit is contained in:
Juan RP 2014-07-22 18:38:12 +02:00
parent 54d4497e5b
commit 6782cd1c51
2 changed files with 16 additions and 1 deletions

1
srcpkgs/ocl-icd-devel Symbolic link
View File

@ -0,0 +1 @@
ocl-icd

View File

@ -1,7 +1,7 @@
# Template file for 'ocl-icd' # Template file for 'ocl-icd'
pkgname=ocl-icd pkgname=ocl-icd
version=2.1.3 version=2.1.3
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="ruby" hostmakedepends="ruby"
makedepends="opencl-headers" makedepends="opencl-headers"
@ -11,3 +11,17 @@ homepage="https://forge.imag.fr/projects/ocl-icd/"
license="GPL-2" license="GPL-2"
distfiles="https://forge.imag.fr/frs/download.php/524/ocl-icd-2.1.3.tar.gz" distfiles="https://forge.imag.fr/frs/download.php/524/ocl-icd-2.1.3.tar.gz"
checksum="8338c6ae5cb7a9b34dfe79922f5e32c4f78c535a2217321dae842f72e0a2b175" 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
}
}