Merge pull request #488 from RealJohnGalt/ocl-amd

catalyst-opencl: use ocl-icd now
This commit is contained in:
Juan RP 2014-07-23 11:40:28 +02:00
commit bdbd267cbe
1 changed files with 1 additions and 4 deletions

View File

@ -151,8 +151,7 @@ catalyst-dkms_package() {
catalyst-opencl_package() {
short_desc="${_desc} - OpenCL implementation"
provides="libOpenCL-${version}_${revision}"
replaces="libOpenCL>=0"
depends=ocl-icd
nonfree=yes
noverifyrdeps=yes
pkg_install() {
@ -166,7 +165,5 @@ catalyst-opencl_package() {
install -m644 etc/OpenCL/vendors/amdocl*.icd ${PKGDESTDIR}/etc/OpenCL/vendors
install -m755 usr/lib${_ARCHLIB}/libamdocl*.so ${PKGDESTDIR}/usr/lib/
install -m755 usr/lib${_ARCHLIB}/libOpenCL.so.1 ${PKGDESTDIR}/usr/lib/
ln -s libOpenCL.so.1 ${PKGDESTDIR}/usr/lib/libOpenCL.so
}
}