summaryrefslogtreecommitdiff
path: root/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild
diff options
context:
space:
mode:
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.SlackBuild24
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