summaryrefslogtreecommitdiff
path: root/network/GhostInTheMail/GhostInTheMail.SlackBuild
diff options
context:
space:
mode:
authormajk <majk@konstelacioj.info>2010-05-13 00:35:27 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:35:27 +0200
commit4cb2ab1e47078f6892576b72d429a338cec3e1f7 (patch)
treed4d510d7e7566a76f738d1b40eabc67bda44d565 /network/GhostInTheMail/GhostInTheMail.SlackBuild
parente4ff062e00bb49fdfd2334908e55cdabedfaecf5 (diff)
downloadslackbuilds-4cb2ab1e47078f6892576b72d429a338cec3e1f7.tar.gz
network/GhostInTheMail: Updated for version 0.5
Diffstat (limited to 'network/GhostInTheMail/GhostInTheMail.SlackBuild')
-rw-r--r--network/GhostInTheMail/GhostInTheMail.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/GhostInTheMail/GhostInTheMail.SlackBuild b/network/GhostInTheMail/GhostInTheMail.SlackBuild
index fd8b19c5c0..bf65191c84 100644
--- a/network/GhostInTheMail/GhostInTheMail.SlackBuild
+++ b/network/GhostInTheMail/GhostInTheMail.SlackBuild
@@ -17,10 +17,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
@@ -42,6 +45,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux
make
@@ -67,4 +71,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}