diff options
author | LukenShiro <lukenshiro@ngi.it> | 2011-12-14 22:40:14 -0600 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-12-18 00:07:50 -0200 |
commit | aed75ba0708219f026c8e23903a68146c97d15ee (patch) | |
tree | bb6c10d24429f8615eed26cb7a1ea71588a3cd2d /perl/libwww-perl/libwww-perl.SlackBuild | |
parent | c7a0f155ff647d3d6d6d1561c7fec8e893bb8c15 (diff) | |
download | slackbuilds-aed75ba0708219f026c8e23903a68146c97d15ee.tar.gz |
perl/libwww-perl: Updated for version 6.03.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 53d71e4dd3..89042e819d 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 |