summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/opencl-headers/opencl-headers.SlackBuild9
-rw-r--r--development/opencl-headers/opencl-headers.info6
2 files changed, 8 insertions, 7 deletions
diff --git a/development/opencl-headers/opencl-headers.SlackBuild b/development/opencl-headers/opencl-headers.SlackBuild
index e925f4e9cc..ec154c2e84 100644
--- a/development/opencl-headers/opencl-headers.SlackBuild
+++ b/development/opencl-headers/opencl-headers.SlackBuild
@@ -24,9 +24,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opencl-headers
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
ARCH=noarch
CWD=$(pwd)
@@ -37,8 +38,8 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG/usr/{doc,include} $OUTPUT
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PKG/usr/include/
+mkdir -p $TMP $PKG/usr/include/CL $OUTPUT
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PKG/usr/include/CL/
chown -R root.root $PKG/usr/include/CL/*
find $PKG/usr/include/CL \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -46,7 +47,7 @@ find $PKG/usr/include/CL \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mv $PKG/usr/include/CL/docs $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/opencl-headers/opencl-headers.info b/development/opencl-headers/opencl-headers.info
index 781363667f..73c44e88c6 100644
--- a/development/opencl-headers/opencl-headers.info
+++ b/development/opencl-headers/opencl-headers.info
@@ -1,8 +1,8 @@
PRGNAM="opencl-headers"
-VERSION="1.2"
+VERSION="1.1"
HOMEPAGE="http://www.khronos.org/opencl/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/opencl-headers-1.2.tar.xz"
-MD5SUM="c2ef95b9d9127c824ce754ba2bc06d4e"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/opencl-headers-1.1.tar.xz"
+MD5SUM="3b9b4c49b3ddf37e275c5c22f94aa80a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""