diff options
Diffstat (limited to 'libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild')
-rw-r--r-- | libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild index e3fd851666..e972b19bf2 100644 --- a/libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild +++ b/libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for perl modules: BerkeleyDB # Home Page http://search.cpan.org/dist/BerkeleyDB/ -# 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=BerkeleyDB PRGNAM=perl-BerkeleyDB -VERSION=0.41 +VERSION=0.42 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,12 +84,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 {} \; |