summaryrefslogtreecommitdiff
path: root/network/gajim/gajim.SlackBuild
diff options
context:
space:
mode:
authorMorten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>2010-05-13 00:36:32 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:36:32 +0200
commit233bca2aaa15df275cf3a3c7eabbb14d1c4b0bc2 (patch)
tree2e0f99efa04f540f98963121666a089bddac97e6 /network/gajim/gajim.SlackBuild
parent669a7c7fb194c8f7b64bc2f22784188b953402b4 (diff)
downloadslackbuilds-233bca2aaa15df275cf3a3c7eabbb14d1c4b0bc2.tar.gz
network/gajim: Updated for version 0.13.2
Diffstat (limited to 'network/gajim/gajim.SlackBuild')
-rw-r--r--network/gajim/gajim.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/network/gajim/gajim.SlackBuild b/network/gajim/gajim.SlackBuild
index fdab5dd621..20ce87d876 100644
--- a/network/gajim/gajim.SlackBuild
+++ b/network/gajim/gajim.SlackBuild
@@ -6,7 +6,7 @@
# - and once again by Morten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>
PRGNAM=gajim
-VERSION=0.12.1
+VERSION=0.13.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -18,10 +18,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
@@ -39,6 +42,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -61,4 +65,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}