diff options
Diffstat (limited to 'desktop/avant-window-navigator/avant-window-navigator.SlackBuild')
-rw-r--r-- | desktop/avant-window-navigator/avant-window-navigator.SlackBuild | 16 |
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} |