From 3e168c3203aa81e5f4991d6d935053cc3498fca9 Mon Sep 17 00:00:00 2001 From: LukenShiro Date: Sat, 29 Dec 2012 14:23:40 +0100 Subject: perl/perl-http-message: Updated for version 6.06. Signed-off-by: Matteo Bernardini --- perl/perl-http-message/perl-http-message.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'perl/perl-http-message/perl-http-message.SlackBuild') diff --git a/perl/perl-http-message/perl-http-message.SlackBuild b/perl/perl-http-message/perl-http-message.SlackBuild index fb68982ca4..8e030525b4 100644 --- a/perl/perl-http-message/perl-http-message.SlackBuild +++ b/perl/perl-http-message/perl-http-message.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-http-message -# Copyright 2011-2012 LukenShiro, Italy +# Copyright 2011-2013 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=perl-http-message -VERSION=${VERSION:-6.03} +VERSION=${VERSION:-6.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,7 +58,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL \ +echo "y" | perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 @@ -66,11 +66,9 @@ make make test make install DESTDIR=$PKG -# Remove perllocal.pod and other special files that don't need to be installed find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true -# Remove empty directories -find $PKG -depth -type d -empty -exec rm -rf {} \; +find $PKG -depth -type d -empty -delete 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 -- cgit v1.2.3