summaryrefslogtreecommitdiff
path: root/network/sylpheed/sylpheed.SlackBuild
diff options
context:
space:
mode:
authorGPLeo <slackbuilds@gmail.com>2010-05-13 00:38:26 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:38:26 +0200
commit2c77f99062c89beea3e4dfcd29ced8bfcbae1b0f (patch)
treef4e1f970051069be83fe9a0e586e86c410019dbf /network/sylpheed/sylpheed.SlackBuild
parente5dbcd5767b0e622b855ff0c90f416bf0dfa23d6 (diff)
downloadslackbuilds-2c77f99062c89beea3e4dfcd29ced8bfcbae1b0f.tar.gz
network/sylpheed: Updated for version 2.7.1
Diffstat (limited to 'network/sylpheed/sylpheed.SlackBuild')
-rw-r--r--network/sylpheed/sylpheed.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/network/sylpheed/sylpheed.SlackBuild b/network/sylpheed/sylpheed.SlackBuild
index 6d484acbdd..398435af1c 100644
--- a/network/sylpheed/sylpheed.SlackBuild
+++ b/network/sylpheed/sylpheed.SlackBuild
@@ -1,11 +1,11 @@
#!/bin/sh
-
+#
# Slackware build script for sylpheed
-
# Written by GPLeo <slackbuilds@gmail.com>
+#
PRGNAM=sylpheed
-VERSION=${VERSION:-2.6.0}
+VERSION=${VERSION:-2.7.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -15,15 +15,19 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="ABOUT-NLS AUTHORS COPYING COPYING.LIB INSTALL LICENSE README README.es TODO"
+DOCS="ABOUT-NLS AUTHORS COPYING COPYING.LIB
+ INSTALL LICENSE README README.es TODO"
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 # Exit on most errors
@@ -45,6 +49,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-gpgme \
@@ -79,4 +84,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}