summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorpowtrix <powtrix@gmail.com>2012-12-20 22:44:23 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-21 21:27:22 +0100
commit77efda2c98a7d233423948bc64180e5621f9aaea (patch)
tree2de8410bd879647b251962b1a535fdd6d887b1e2 /misc
parent80be65ed0c968827c22d3f7a1299d2f452dc7dbc (diff)
downloadslackbuilds-77efda2c98a7d233423948bc64180e5621f9aaea.tar.gz
misc/par2cmdline-tbb: Fixed aclocal/automake and package name.
Changed i?86=i686 to fix 32-bit build Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild20
-rw-r--r--misc/par2cmdline-tbb/par2cmdline-tbb.info2
2 files changed, 12 insertions, 10 deletions
diff --git a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
index 9e9c7f5710..b64a9d61b3 100644
--- a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
+++ b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
@@ -4,18 +4,19 @@
# Written by powtrix (@gmail.com)
PRGNAM=par2cmdline-tbb
-VERSION=0.4_tbb_20100203
-BUILD=${BUILD:-2}
+VERSION=0.4_20100203
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
DIRNAME=$(echo $PRGNAM | tr -d "\-tbb")
-SRCVERSION=$(echo $VERSION | tr _ -)
+SRCVERSION=$(echo $VERSION | sed s,_,-tbb-,)
+# 0.4-tbb-20100203
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i686 ;; # atm i486 fails to build
arm*) ARCH=arm ;;
- *) ARCH=$( uname -m) ;;
+ *) ARCH=$( uname -m ) ;;
esac
fi
@@ -66,18 +67,19 @@ 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
-mkdir -p $PKG/usr/doc/$DIRNAME-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL PORTING README{,_FIRST.txt} ROADMAP \
- $PKG/usr/doc/$DIRNAME-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$DIRNAME-$VERSION/$PRGNAM.SlackBuild
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$DIRNAME-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/misc/par2cmdline-tbb/par2cmdline-tbb.info b/misc/par2cmdline-tbb/par2cmdline-tbb.info
index e69b8d5d99..6e7f36d31f 100644
--- a/misc/par2cmdline-tbb/par2cmdline-tbb.info
+++ b/misc/par2cmdline-tbb/par2cmdline-tbb.info
@@ -1,5 +1,5 @@
PRGNAM="par2cmdline-tbb"
-VERSION="0.4_tbb_20100203"
+VERSION="0.4_20100203"
HOMEPAGE="http://chuchusoft.com/par2_tbb/"
DOWNLOAD="http://chuchusoft.com/par2_tbb/par2cmdline-0.4-tbb-20100203.tar.gz"
MD5SUM="b1052a08c3c6eac8a7a0605addb161e7"