diff options
Diffstat (limited to 'source/d/opencl-headers/opencl-headers.SlackBuild')
-rwxr-xr-x | source/d/opencl-headers/opencl-headers.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/d/opencl-headers/opencl-headers.SlackBuild b/source/d/opencl-headers/opencl-headers.SlackBuild index 3c9e0cab..1b33a02b 100755 --- a/source/d/opencl-headers/opencl-headers.SlackBuild +++ b/source/d/opencl-headers/opencl-headers.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for opencl-headers -# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2016, 2019 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2016, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=opencl-headers VERSION=${VERSION:-$(echo OpenCL-Headers-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -PKGVER=${PKGVER:-2.1} -BUILD=${BUILD:-2} +PKGVER=${PKGVER:-2.2} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -60,18 +60,18 @@ find . \ mkdir -p $PKG/usr/include/CL -install -p -m 0644 ./* -t $PKG/usr/include/CL/ +install -p -m 0644 CL/* -t $PKG/usr/include/CL/ zcat $CWD/cl.hpp.gz > $PKG/usr/include/CL/cl.hpp zcat $CWD/cl2.hpp.gz > $PKG/usr/include/CL/cl2.hpp # Drop Direct3D related headers -for i in cl_dx9_media_sharing.h cl_d3d10.h cl_d3d11.h; do +for i in cl_dx9_media_sharing.h cl_dx9_media_sharing_intel.h cl_d3d10.h cl_d3d11.h; do rm -f $PKG/usr/include/CL/$i done mkdir -p $PKG/usr/doc/$PKGNAM-$PKGVER -cp -a $CWD/LICENSE.txt \ +cp -a LICENSE* README* \ $PKG/usr/doc/$PKGNAM-$PKGVER mkdir -p $PKG/install |