summaryrefslogtreecommitdiff
path: root/network/dovecot-cmusieve/dovecot-cmusieve.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/dovecot-cmusieve/dovecot-cmusieve.SlackBuild')
-rw-r--r--network/dovecot-cmusieve/dovecot-cmusieve.SlackBuild21
1 files changed, 8 insertions, 13 deletions
diff --git a/network/dovecot-cmusieve/dovecot-cmusieve.SlackBuild b/network/dovecot-cmusieve/dovecot-cmusieve.SlackBuild
index 1b983a0972..f7cbacd063 100644
--- a/network/dovecot-cmusieve/dovecot-cmusieve.SlackBuild
+++ b/network/dovecot-cmusieve/dovecot-cmusieve.SlackBuild
@@ -3,15 +3,15 @@
# Slackware Package Build Script for dovecot-cmusieve
# Home Page: http://dovecot.org/
-# Copyright (c) 2007-2009, Nishant Limbachia, Hoffman Est, IL, USA (nishant@mnspace.net)
+# Copyright (c) 2007-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
-# Redistribution and use of this script, with or without modification, is
+# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of script must retain the above copyright notice,
+#
+# 1. Redistributions of script must retain the above copyright notice,
# this list of conditions and the following disclaimer.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -26,7 +26,7 @@
SRCNAM=dovecot-sieve
PRGNAM=dovecot-cmusieve
-VERSION=1.1.7
+VERSION=1.1.8
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,13 +75,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-### strip binaries
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS README \