summaryrefslogtreecommitdiff
path: root/libraries/libgnomeprintui/libgnomeprintui.SlackBuild
diff options
context:
space:
mode:
authornobody <nobody>2010-05-12 17:41:17 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:41:17 +0200
commit58a8b1fccd9c6b6d947a144683a92ca5da4261ce (patch)
tree842b405267cdd4072ba93bcaecac137f338736ac /libraries/libgnomeprintui/libgnomeprintui.SlackBuild
parentf5627f43e5caf7e18af0b951accc78532713e32d (diff)
downloadslackbuilds-58a8b1fccd9c6b6d947a144683a92ca5da4261ce.tar.gz
libraries/libgnomeprintui: Updated for version 2.18.4
Diffstat (limited to 'libraries/libgnomeprintui/libgnomeprintui.SlackBuild')
-rw-r--r--libraries/libgnomeprintui/libgnomeprintui.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/libgnomeprintui/libgnomeprintui.SlackBuild b/libraries/libgnomeprintui/libgnomeprintui.SlackBuild
index 816f2bb601..e8be7621ef 100644
--- a/libraries/libgnomeprintui/libgnomeprintui.SlackBuild
+++ b/libraries/libgnomeprintui/libgnomeprintui.SlackBuild
@@ -25,7 +25,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=libgnomeprintui
-VERSION=2.18.0
+VERSION=2.18.4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,10 +37,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -60,12 +63,12 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static=no \
--enable-gtk-doc=yes \
--build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux \
|| exit 1
make || exit 1