summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-12-22 12:29:07 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:50 -0500
commit33421d6072894173855d0693f3ea485cea8d80f6 (patch)
tree477c5423e46632f70a0a89640ce8c2d13e35cd52 /development
parent1d9fc17f557fbfe7cfb2013858b11031b9028ffe (diff)
downloadslackbuilds-33421d6072894173855d0693f3ea485cea8d80f6.tar.gz
development/opencl-headers: Updated for version 1.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development')
-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=""