aboutsummaryrefslogtreecommitdiff
path: root/network/claws-mail-extra-plugins/claws-mail-extra-plugins.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/claws-mail-extra-plugins/claws-mail-extra-plugins.SlackBuild')
-rw-r--r--network/claws-mail-extra-plugins/claws-mail-extra-plugins.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/network/claws-mail-extra-plugins/claws-mail-extra-plugins.SlackBuild b/network/claws-mail-extra-plugins/claws-mail-extra-plugins.SlackBuild
index d9f7af8e3031d..b348ec5863354 100644
--- a/network/claws-mail-extra-plugins/claws-mail-extra-plugins.SlackBuild
+++ b/network/claws-mail-extra-plugins/claws-mail-extra-plugins.SlackBuild
@@ -3,7 +3,7 @@
# SlackBuild Script to build the extra plugins for claws mail
# Copyright (c) 2007, Timothy Pollard
-# Copyright (c) 2008, Erik Hanson
+# Copyright (c) 2008-2010, Erik Hanson
#
# All rights reserved.
#
@@ -29,7 +29,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=claws-mail-extra-plugins
-VERSION=3.7.1
+VERSION=3.7.5
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,11 +39,13 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+
# This is a *complete* list of available plugins, see the README for
# information on plugins you may wish you remove from this list.
-PLUGIN_LIST="acpi_notifier archive att_remover attachwarner cachesaver \
- fetchinfo-plugin gtkhtml2_viewer mailmbox newmail notification_plugin \
- perl_plugin rssyl spam_report synce_plugin tnef_parse vcalendar"
+PLUGIN_LIST="acpi_notifier archive att_remover attachwarner bsfilter_plugin \
+ cachesaver fancy fetchinfo-plugin geolocation_plugin gtkhtml2_viewer \
+ mailmbox newmail notification_plugin perl_plugin python_plugin rssyl \
+ spam_report synce_plugin tnef_parse vcalendar"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i486"
@@ -74,9 +76,9 @@ for plugin in $PLUGIN_LIST ; do
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
--build=$ARCH-slackware-linux
@@ -97,7 +99,7 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
find $PKG | xargs file | egrep "ELF.*shared object" | cut -f 1 -d : \
- | xargs strip --strip-unneeded 2> /dev/null
+ | xargs strip --strip-unneeded 2> /dev/null || true
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}