diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2010-04-24 04:17:41 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-15 10:50:27 +0200 |
commit | 7a6a8d655aee0951922625a13c03f401fd7d24ff (patch) | |
tree | 363161ed654f05927a662f4042ab7ab957a4dbf1 /libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild | |
parent | e313b9ba6f932564a6b55a2a667faa9ae7f02d41 (diff) |
libraries/perl-BerkeleyDB: Updated for version 0.42.
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 e3fd851666d01..e972b19bf26cd 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 {} \; |