summaryrefslogtreecommitdiff
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
parente4ff062e00bb49fdfd2334908e55cdabedfaecf5 (diff)
downloadslackbuilds-4cb2ab1e47078f6892576b72d429a338cec3e1f7.tar.gz
network/GhostInTheMail: Updated for version 0.5
-rw-r--r--network/GhostInTheMail/GhostInTheMail.SlackBuild6
-rw-r--r--network/GhostInTheMail/GhostInTheMail.info2
2 files changed, 7 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}
diff --git a/network/GhostInTheMail/GhostInTheMail.info b/network/GhostInTheMail/GhostInTheMail.info
index e396c34320..c67e3a0eff 100644
--- a/network/GhostInTheMail/GhostInTheMail.info
+++ b/network/GhostInTheMail/GhostInTheMail.info
@@ -2,7 +2,9 @@ PRGNAM="GhostInTheMail"
VERSION="0.5"
HOMEPAGE="http://gitmail.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/gitmail/GhostInTheMail-0.5.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="972887a499b4fa86f1a5b570fa858a1e"
+MD5SUM_x86_64=""
MAINTAINER="majk"
EMAIL="majk@konstelacioj.info"
APPROVED="rworkman"