summaryrefslogtreecommitdiff
path: root/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2012-02-19 17:01:57 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2012-02-19 17:01:57 -0200
commitaed48c647b4b8a37fef6170b53de1a0beb691dbf (patch)
tree49a478e4b898be5b05d7b3f7142abe3a541fc492 /perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild
parentb1a92dcb536f5d521b417573cf4a93f1f39344e7 (diff)
downloadslackbuilds-aed48c647b4b8a37fef6170b53de1a0beb691dbf.tar.gz
perl/perl-IO-Socket-SSL: Updated for version 1.54.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild')
-rw-r--r--perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild26
1 files changed, 8 insertions, 18 deletions
diff --git a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild
index af8fc8f46c..30babeed6e 100644
--- a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild
+++ b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-IO-Socket-SSL
-# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it>
+# Copyright 2009-2012 Marco Bonetti <sid77@slackware.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-IO-Socket-SSL
-VERSION=${VERSION:-1.24}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.54}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -43,7 +43,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -66,20 +66,10 @@ make install DESTDIR=$PKG
# Move man pages
mv $PKG/usr/share/man $PKG/usr/
-# Compress man pages
-( 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
-)
-
-# Remove perllocal.pod and other special files that don't need to be installed
-( cd $PKG
- # Remove 'special' files
- find . -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
# Remove empty directories
find $PKG -depth -type d -empty -delete