summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libkate/libkate.SlackBuild10
-rw-r--r--libraries/libkate/libkate.info10
2 files changed, 13 insertions, 7 deletions
diff --git a/libraries/libkate/libkate.SlackBuild b/libraries/libkate/libkate.SlackBuild
index ff6fcd4822..f0889837b4 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}
diff --git a/libraries/libkate/libkate.info b/libraries/libkate/libkate.info
index 4bcb7842e8..942e3bbf2d 100644
--- a/libraries/libkate/libkate.info
+++ b/libraries/libkate/libkate.info
@@ -1,8 +1,10 @@
PRGNAM="libkate"
-VERSION="0.3.3"
+VERSION="0.3.7"
HOMEPAGE="http://code.google.com/p/libkate/"
-DOWNLOAD="http://libkate.googlecode.com/files/libkate-0.3.3.tar.gz"
-MD5SUM="328ea1eb451f460514a096668d3bf076"
+DOWNLOAD="http://libkate.googlecode.com/files/libkate-0.3.7.tar.gz"
+MD5SUM="e5c287b4f40498e5bde48c0a52225292"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="dsomero"
+APPROVED="Erik Hanson"