diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2010-04-24 04:19:04 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-15 10:50:27 +0200 |
commit | 1b2fdc48efb8deebf9e48cd8a39d184c0c087ec2 (patch) | |
tree | 2a7c7009259ca7b432a5bf003ac89ec3ed9d381c /libraries/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild | |
parent | 7a6a8d655aee0951922625a13c03f401fd7d24ff (diff) |
libraries/perl-Crypt-OpenSSL-RSA: Updated for version 0.26.
Diffstat (limited to 'libraries/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild')
-rw-r--r-- | libraries/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/libraries/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild b/libraries/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild index 92dc65339884e..0c32b992807bc 100644 --- a/libraries/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild +++ b/libraries/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild @@ -3,13 +3,13 @@ # Slackware Package Build Script for perl modules: Crypt::OpenSSL::RSA # Home Page http://search.cpan.org/dist/Crypt-OpenSSL-RSA/ -# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# Copyright (c) 2008-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 @@ -28,7 +28,7 @@ SRCNAM=Crypt-OpenSSL-RSA PRGNAM=perl-Crypt-OpenSSL-RSA -VERSION=0.25 +VERSION=0.26 ARCH=${ARCH:-i486} TAG=${TAG:-_SBo} BUILD=${BUILD:-1} @@ -86,17 +86,14 @@ 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 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |