libraries/perl-Crypt-OpenSSL-RSA: Updated for version 0.26.

This commit is contained in:
Nishant Limbachia 2010-04-24 04:19:04 -05:00 committed by Erik Hanson
parent 7a6a8d655a
commit 1b2fdc48ef
2 changed files with 12 additions and 15 deletions

View File

@ -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

View File

@ -1,10 +1,10 @@
PRGNAM="perl-Crypt-OpenSSL-RSA"
VERSION="0.25"
VERSION="0.26"
HOMEPAGE="http://search.cpan.org/dist/Crypt-OpenSSL-RSA/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-0.25.tar.gz"
MD5SUM="fdf19c9093f47cffb851ae937d053c14"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-0.26.tar.gz"
MD5SUM="baf875f01ee39b88335b8f0962fe4bbc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
APPROVED="dsomero"
APPROVED="Erik Hanson"