summaryrefslogtreecommitdiff
path: root/network/efax-gtk/efax-gtk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/efax-gtk/efax-gtk.SlackBuild')
-rw-r--r--network/efax-gtk/efax-gtk.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/network/efax-gtk/efax-gtk.SlackBuild b/network/efax-gtk/efax-gtk.SlackBuild
index cf2d36509e..71d69369be 100644
--- a/network/efax-gtk/efax-gtk.SlackBuild
+++ b/network/efax-gtk/efax-gtk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for efax-gtk
-# Copyright 2008 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2008-2009 LukenShiro <lukenshiro@ngi.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=efax-gtk
-VERSION=${VERSION:-3.0.17}
+VERSION=${VERSION:-3.0.18}
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -42,10 +42,13 @@ OTHER_CMDS="mail_fax print_fax"
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
@@ -68,6 +71,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--datadir=/usr/share \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \