summaryrefslogtreecommitdiff
path: root/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild
diff options
context:
space:
mode:
authorbughunter2 <bughunter2@googlemail.com>2010-05-13 00:33:06 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:33:06 +0200
commit0a465e4cc2f6126b2a72abf509d45d6ab43bd635 (patch)
treef0cdede83fd9d53280bb77210d41e844fbbe68f8 /libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild
parentbb81476b1aac90d4a9e9591bd55151fd63ec8a58 (diff)
downloadslackbuilds-0a465e4cc2f6126b2a72abf509d45d6ab43bd635.tar.gz
libraries/purple-plugin_pack: Updated for version 2.5.1
Diffstat (limited to 'libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild')
-rw-r--r--libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild b/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild
index 04943230a0..086feb2bf2 100644
--- a/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild
+++ b/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild
@@ -16,10 +16,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -37,6 +40,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--build=$ARCH-slackware-linux
@@ -67,4 +71,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}