summaryrefslogtreecommitdiff
path: root/source/d/opencl-headers/opencl-headers.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-02-01 05:53:41 +0000
committerEric Hameleers <alien@slackware.com>2019-02-01 17:59:43 +0100
commita9cc4b90dadd8e24a03ade08cbc6097531a13766 (patch)
tree63b00706da1b03769620cdeb0f20ce67845dc416 /source/d/opencl-headers/opencl-headers.SlackBuild
parente38fab7e3aaf1ad00516bde42341708ace603227 (diff)
downloadcurrent-a9cc4b90dadd8e24a03ade08cbc6097531a13766.tar.gz
Fri Feb 1 05:53:41 UTC 201920190201055341
a/glibc-solibs-2.29-x86_64-2.txz: Rebuilt. d/opencl-headers-2.2-noarch-1.txz: Upgraded. Thanks to Heinz Wiesinger. l/glibc-2.29-x86_64-2.txz: Rebuilt. l/glibc-i18n-2.29-x86_64-2.txz: Rebuilt. Reverted en_US.UTF8 date(1) format back to 24 hour. I'm pretty sure that the majority of people here in this locale will agree. l/glibc-profile-2.29-x86_64-2.txz: Rebuilt.
Diffstat (limited to 'source/d/opencl-headers/opencl-headers.SlackBuild')
-rwxr-xr-xsource/d/opencl-headers/opencl-headers.SlackBuild14
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