summaryrefslogtreecommitdiffstats
path: root/system/bogofilter/bogofilter.SlackBuild
diff options
context:
space:
mode:
author Robby Workman <rw@rlworkman.net>2010-05-13 00:39:42 +0200
committer Erik Hanson <erik@slackbuilds.org>2010-05-13 00:39:42 +0200
commit68e5fe8f724f8e9f75c1d1efc409ff6b9dba7361 (patch)
tree9a899c0228f390ebffdc74163d95a08e080e4cf6 /system/bogofilter/bogofilter.SlackBuild
parent5d73a5d0bd4511eb00912550e991f593c9e5a41a (diff)
downloadslackbuilds-68e5fe8f724f8e9f75c1d1efc409ff6b9dba7361.tar.gz
slackbuilds-68e5fe8f724f8e9f75c1d1efc409ff6b9dba7361.tar.xz
system/bogofilter: Updated for version 1.2.1
Diffstat (limited to 'system/bogofilter/bogofilter.SlackBuild')
-rw-r--r--system/bogofilter/bogofilter.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/system/bogofilter/bogofilter.SlackBuild b/system/bogofilter/bogofilter.SlackBuild
index 298bba8beb..ec1682c289 100644
--- a/system/bogofilter/bogofilter.SlackBuild
+++ b/system/bogofilter/bogofilter.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bogofilter
-# Copyright 2008 Robby Workman Northport, Alabama, USA
+# Copyright 2008, 2010 Robby Workman Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bogofilter
-VERSION=1.1.7
+VERSION=1.2.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,6 +42,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
rm -rf $PKG
@@ -87,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/bogofilter-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/bogofilter-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}