aboutsummaryrefslogtreecommitdiff
path: root/development/bzr/bzr.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:24:18 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:24:18 +0200
commit6c2b34535f772e45d6832bec72af555c8a93f1b1 (patch)
treea29f5a4d51c4376a2aa7218cc89aab8a1485397c /development/bzr/bzr.SlackBuild
parent56d484e829102a81e1d31bc539bd4ae2ffd88118 (diff)
development/bzr: Updated for version 2.0.3
Diffstat (limited to 'development/bzr/bzr.SlackBuild')
-rw-r--r--development/bzr/bzr.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/development/bzr/bzr.SlackBuild b/development/bzr/bzr.SlackBuild
index 5eace83df9f5c..bf993425777ca 100644
--- a/development/bzr/bzr.SlackBuild
+++ b/development/bzr/bzr.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bzr
-# Copyright 2006-2009 Robby Workman Northport, AL, USA
+# Copyright 2006-2010 Robby Workman Northport, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bzr
-VERSION=1.14
+VERSION=2.0.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -78,4 +81,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}