summaryrefslogtreecommitdiff
path: root/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
diff options
context:
space:
mode:
authorMarco Cecchetti <mrc.ildp@gmail.com>2010-05-13 00:22:25 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:22:25 +0200
commit386dd3ab37551daf2089dbb54a77cb64567b35c2 (patch)
tree8c929d3f06f2765c2d7e67adbfb2e07cff8b4532 /desktop/avant-window-navigator/avant-window-navigator.SlackBuild
parent03688cc09edd5eb08f8a96980dc09f18a13189fc (diff)
downloadslackbuilds-386dd3ab37551daf2089dbb54a77cb64567b35c2.tar.gz
desktop/avant-window-navigator: Updated for version 0.3.2.1
Diffstat (limited to 'desktop/avant-window-navigator/avant-window-navigator.SlackBuild')
-rw-r--r--desktop/avant-window-navigator/avant-window-navigator.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
index 50294bca46..4ca3bfa69f 100644
--- a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
+++ b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
@@ -3,22 +3,25 @@
# Written by Marco Cecchetti (mrc.ildp@gmail.com)
PRGNAM=avant-window-navigator
-VERSION=${VERSION:-0.3.2}
-ARCH=${ARCH:-i486}
+VERSION=${VERSION:-0.3.2.1}
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+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
@@ -40,6 +43,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static=no \
@@ -91,4 +95,4 @@ done
unset GCONF_CONFIG_SOURCE
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}