summaryrefslogtreecommitdiff
path: root/network/GhostInTheMail
diff options
context:
space:
mode:
Diffstat (limited to 'network/GhostInTheMail')
-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"