aboutsummaryrefslogtreecommitdiff
path: root/libraries/libkate/libkate.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-05-13 00:30:59 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:30:59 +0200
commite37ea60d5f958eec0fe71189e7cc1e703f050a14 (patch)
tree78f7ccd4b1862fec58f22e8e8ceeab4a17b6fdf3 /libraries/libkate/libkate.SlackBuild
parentfd023843e552693495120c057547e689e642bc5f (diff)
libraries/libkate: Updated for version 0.3.7
Diffstat (limited to 'libraries/libkate/libkate.SlackBuild')
-rw-r--r--libraries/libkate/libkate.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/libraries/libkate/libkate.SlackBuild b/libraries/libkate/libkate.SlackBuild
index ff6fcd482279e..f0889837b48f9 100644
--- a/libraries/libkate/libkate.SlackBuild
+++ b/libraries/libkate/libkate.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for libkate
# Home Page http://code.google.com/p/libkate/
-# Copyright (c) 2008, Nishant Limbachia (nishant@mnspace.net)
+# Copyright (c) 2008-2009, Nishant Limbachia, Hoffman Estates, IL, USA [nishant@mnspace.net]
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libkate
-VERSION=0.3.3
+VERSION=0.3.7
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" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -63,6 +66,7 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
@@ -96,4 +100,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}