aboutsummaryrefslogtreecommitdiff
path: root/libraries/tbb/tbb.SlackBuild
diff options
context:
space:
mode:
authorpowtrix <powtrix@gmail.com>2017-10-29 10:56:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-29 10:56:21 +0700
commitb1eb2dd432b66620d3e2220bb3c4a33dd047dd81 (patch)
tree9acd0e0379e440d3d2a56dc514b7bde9523fca46 /libraries/tbb/tbb.SlackBuild
parent5dc262d9bf2caaeb419a2cfa5a022081bc092c1b (diff)
libraries/tbb: Updated for version 2018u1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/tbb/tbb.SlackBuild')
-rw-r--r--libraries/tbb/tbb.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/libraries/tbb/tbb.SlackBuild b/libraries/tbb/tbb.SlackBuild
index baa727c5de..e5ce1a1d51 100644
--- a/libraries/tbb/tbb.SlackBuild
+++ b/libraries/tbb/tbb.SlackBuild
@@ -4,11 +4,11 @@
# Written by powtrix (@gmail.com)
PRGNAM=tbb
-VERSION=${VERSION:-2017u3}
+VERSION=${VERSION:-2018u1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=${SRCVERSION:-2017_20161128oss}
+SRCVERSION=$( echo ${VERSION} | sed 's,u,_U,' )
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,17 +39,17 @@ fi
set -e
-rm -rf $PKG $TMP/$PRGNAM${SRCVERSION}
+rm -rf $PKG $TMP/$PRGNAM-${SRCVERSION}
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM${SRCVERSION}_src.tgz
-cd $PRGNAM${SRCVERSION}
+tar xvf $CWD/$PRGNAM-${SRCVERSION}.tar.gz
+cd $PRGNAM-${SRCVERSION}
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make