aboutsummaryrefslogtreecommitdiff
path: root/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
diff options
context:
space:
mode:
authorpowtrix <powtrix@gmail.com>2015-01-06 23:13:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-06 23:13:43 +0700
commit8e21743704a9eaefeb5f796695da497e80c3f643 (patch)
tree929b50e69ecfd67cb7186783d85d83e51d7b4e0e /misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
parenta7de720aea4198479d934b145b2ddcd6a76aa6fa (diff)
misc/par2cmdline-tbb: Updated for version 0.4_20141125.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild')
-rw-r--r--misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
index b6a5062574ab..17d2e6ad5284 100644
--- a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
+++ b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
@@ -4,17 +4,17 @@
# Written by powtrix (@gmail.com)
PRGNAM=par2cmdline-tbb
-VERSION=0.4_20100203
-BUILD=${BUILD:-3}
+VERSION=0.4_20141125
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
DIRNAME=$(echo $PRGNAM | tr -d "\-tbb")
+DIRVERSION=$(echo $VERSION | awk -F_ '{print $1}')
SRCVERSION=$(echo $VERSION | sed s,_,-tbb-,)
-# 0.4-tbb-20100203
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i686 ;; # atm i486 fails to build
+ i?86) ARCH=i686 ;; # i486 fails to build, it isn't multithread
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,10 +44,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $DIRNAME-$SRCVERSION
+rm -rf $DIRNAME-$DIRVERSION
tar xvf $CWD/$DIRNAME-$SRCVERSION.tar.gz
-patch -p0 -i $CWD/memory.patch
-cd $TMP/$DIRNAME-$SRCVERSION
+cd $TMP/$DIRNAME-$DIRVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -67,7 +66,6 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-aclocal && automake # fixes the aclocal version
make
sed -i 's/ln -f/ln -sf/g' Makefile # make symbolic links instead of hard links
make install DESTDIR=$PKG