aboutsummaryrefslogtreecommitdiff
path: root/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
diff options
context:
space:
mode:
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 b6a5062574ab4..17d2e6ad5284d 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