aboutsummaryrefslogtreecommitdiff
path: root/libraries/gnome-python-extras/gnome-python-extras.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:29:37 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:29:37 +0200
commitf9187eef1355dc67dd051aabb89fdd2c62b904a7 (patch)
tree31dd34fb1682bf53ec989088cb4bc297afbbd509 /libraries/gnome-python-extras/gnome-python-extras.SlackBuild
parent22e6bd784b5b6485e43723f55d3248a951e72988 (diff)
libraries/gnome-python-extras: Updated for version 2.25.3
Diffstat (limited to 'libraries/gnome-python-extras/gnome-python-extras.SlackBuild')
-rw-r--r--libraries/gnome-python-extras/gnome-python-extras.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/gnome-python-extras/gnome-python-extras.SlackBuild b/libraries/gnome-python-extras/gnome-python-extras.SlackBuild
index 812fbdf8be735..9d91b4de8b93d 100644
--- a/libraries/gnome-python-extras/gnome-python-extras.SlackBuild
+++ b/libraries/gnome-python-extras/gnome-python-extras.SlackBuild
@@ -15,10 +15,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
@@ -44,6 +47,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
@@ -70,4 +74,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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}