development/opencl-headers: Updated for version 1.1.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-12-22 12:29:07 -05:00 committed by dsomero
parent 1d9fc17f55
commit 33421d6072
2 changed files with 8 additions and 7 deletions

View file

@ -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

View file

@ -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=""