diff options
Diffstat (limited to 'perl/libwww-perl/libwww-perl.SlackBuild')
-rw-r--r-- | perl/libwww-perl/libwww-perl.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/perl/libwww-perl/libwww-perl.SlackBuild b/perl/libwww-perl/libwww-perl.SlackBuild index 53d71e4dd3ea5..89042e819dc2a 100644 --- a/perl/libwww-perl/libwww-perl.SlackBuild +++ b/perl/libwww-perl/libwww-perl.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libwww-perl -# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it> +# Copyright 2008-2011 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libwww-perl -VERSION=${VERSION:-5.837} +VERSION=${VERSION:-6.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,23 +57,21 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -echo "y" | perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor \ +echo "y" | perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 - make make test make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Compress man pages 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 -# Remove perllocal.pod and other special files that don't need to be installed, -# as they will overwrite what's already on the system. find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true # Remove empty directories |