summaryrefslogtreecommitdiff
path: root/libraries/libgnomecups/libgnomecups.SlackBuild
diff options
context:
space:
mode:
authornobody <nobody>2010-05-12 17:41:15 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:41:15 +0200
commit346a6c458f589d8118e5a98e78135e355ea65cc0 (patch)
tree51f553439c30dcc22a9750dd70341a6831aa827b /libraries/libgnomecups/libgnomecups.SlackBuild
parent1e00bc9726f38fe72d5f0713f8c1704bb5df0295 (diff)
downloadslackbuilds-346a6c458f589d8118e5a98e78135e355ea65cc0.tar.gz
libraries/libgnomecups: Updated for version 0.2.3
Diffstat (limited to 'libraries/libgnomecups/libgnomecups.SlackBuild')
-rw-r--r--libraries/libgnomecups/libgnomecups.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/libgnomecups/libgnomecups.SlackBuild b/libraries/libgnomecups/libgnomecups.SlackBuild
index 77b2cf6db0..9729c2cb0e 100644
--- a/libraries/libgnomecups/libgnomecups.SlackBuild
+++ b/libraries/libgnomecups/libgnomecups.SlackBuild
@@ -25,7 +25,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=libgnomecups
-VERSION=0.2.2
+VERSION=0.2.3
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,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static=no \