summaryrefslogtreecommitdiff
path: root/libraries/tbb
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-08-09 23:58:45 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-14 00:16:51 -0500
commit93a38dd8ec29a25384341507cc5d9aea91e1bbe9 (patch)
treeb94f6339ed51ac21aec0868bf048ddc300c599ea /libraries/tbb
parente2e8c6e5bec54001c47329059720ae865b90bdcd (diff)
downloadslackbuilds-93a38dd8ec29a25384341507cc5d9aea91e1bbe9.tar.gz
libraries/tbb: Use proper symlinks to installed libraries
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/tbb')
-rw-r--r--libraries/tbb/tbb.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/tbb/tbb.SlackBuild b/libraries/tbb/tbb.SlackBuild
index a3c690c863..cd89804c14 100644
--- a/libraries/tbb/tbb.SlackBuild
+++ b/libraries/tbb/tbb.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=tbb
VERSION=${VERSION-4.0u5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCVERSION=${SRCVERSION:-40_20120613oss}
@@ -54,9 +54,12 @@ find . \
make
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-mv build/linux_*_release/\
-{libtbb.so{,.2},libtbbmalloc.so{,.2},libtbbmalloc_proxy.so{,.2}} \
- $PKG/usr/lib${LIBDIRSUFFIX}
+# The *.so (no numerical suffix) files should be symlinks, but they're not,
+# so we'll do that correct ourselves
+mv build/linux_*_release/*.so.* $PKG/usr/lib${LIBDIRSUFFIX}
+ln -s libtbb.so.2 $PKG/usr/lib${LIBDIRSUFFIX}/libtbb.so
+ln -s libtbbmalloc.so.2 $PKG/usr/lib${LIBDIRSUFFIX}/libtbbmalloc.so
+ln -s libtbbmalloc_proxy.so.2 $PKG/usr/lib${LIBDIRSUFFIX}/libtbbmalloc_proxy.so
mv include $PKG/usr