summaryrefslogtreecommitdiff
path: root/network/perl-MIME-tools/perl-MIME-tools.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-04-24 16:35:28 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:50:14 +0200
commit63de013938a58cd4d6c95cdc6ee54e6160653f98 (patch)
tree2a98de25bce4932599f19bcdde0a4f5f2b278426 /network/perl-MIME-tools/perl-MIME-tools.SlackBuild
parent97e07011ed65544bcc819b34f539036e9691fe8f (diff)
downloadslackbuilds-63de013938a58cd4d6c95cdc6ee54e6160653f98.tar.gz
network/perl-MIME-tools: Updated for version 5.428.
Diffstat (limited to 'network/perl-MIME-tools/perl-MIME-tools.SlackBuild')
-rw-r--r--network/perl-MIME-tools/perl-MIME-tools.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/network/perl-MIME-tools/perl-MIME-tools.SlackBuild b/network/perl-MIME-tools/perl-MIME-tools.SlackBuild
index 85da20f1da..451fa8a07d 100644
--- a/network/perl-MIME-tools/perl-MIME-tools.SlackBuild
+++ b/network/perl-MIME-tools/perl-MIME-tools.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for perl modules: MIME-tools
# Home Page http://search.cpan.org/dist/MIME-Tools/
-# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net)
+# Copyright (c) 2009-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
@@ -28,7 +28,7 @@
SRCNAM=MIME-tools
PRGNAM=perl-MIME-tools
-VERSION=5.427
+VERSION=5.428
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,12 +85,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \;
-( 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 || true
-)
+### strip binaries
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;