summaryrefslogtreecommitdiff
path: root/libraries/libtbb/libtbb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libtbb/libtbb.SlackBuild')
-rw-r--r--libraries/libtbb/libtbb.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/libraries/libtbb/libtbb.SlackBuild b/libraries/libtbb/libtbb.SlackBuild
index 0b20a71de9..b4b1cbd154 100644
--- a/libraries/libtbb/libtbb.SlackBuild
+++ b/libraries/libtbb/libtbb.SlackBuild
@@ -4,6 +4,7 @@
# Written by João Felipe Santos (joao.eel@gmail.com)
# Copyright (c) 2010 João Felipe Santos
+# Copyright (c) 2011 Ozan Türkyılmaz
# Maintained by Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -25,16 +26,14 @@
# THE SOFTWARE.
PRGNAM=libtbb
-VERSION=2.2_20090809oss
+VERSION=3.0_20110315oss
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -61,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf tbb22_20090809oss
-tar xvf $CWD/tbb22_20090809oss_src.tgz
-cd tbb22_20090809oss
+rm -rf tbb$(echo $VERSION | sed 's/\.//')oss
+tar xvf $CWD/tbb$(echo $VERSION | sed 's/\.//')_src.tgz
+cd tbb$(echo $VERSION | sed 's/\.//')
chown -R root:root .
chmod -R u+w,go+r-w,a-s .