diff options
author | Marco Bonetti <sid77@slackware.it> | 2012-02-19 16:44:43 -0200 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2012-02-19 16:44:43 -0200 |
commit | b1a92dcb536f5d521b417573cf4a93f1f39344e7 (patch) | |
tree | 5eabbe5994239ee829a92021cce48b9b3af297f3 /perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild | |
parent | f4bf215bc542437aebaab9a49d2255ad63efce93 (diff) | |
download | slackbuilds-b1a92dcb536f5d521b417573cf4a93f1f39344e7.tar.gz |
perl/perl-IO-Socket-INET6: Updated for version 2.69.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild')
-rw-r--r-- | perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild index 5d1ebad2c3..aa75b25acc 100644 --- a/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild +++ b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-IO-Socket-INET6 -# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> +# Copyright 2010-2012 Marco Bonetti <sid77@slackware.it> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,19 +23,17 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-IO-Socket-INET6 -VERSION=${VERSION:-2.65} +VERSION=${VERSION:-2.69} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRC_PRGNAM=IO-Socket-INET6 DOCS="README" -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -82,20 +80,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 |