summaryrefslogtreecommitdiff
path: root/perl/perl-http-message/perl-http-message.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2012-12-29 14:23:40 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-29 14:24:49 +0100
commit3e168c3203aa81e5f4991d6d935053cc3498fca9 (patch)
treeba18eedc90bfb635f76d2085fc4f6a8e75697a11 /perl/perl-http-message/perl-http-message.SlackBuild
parent80b4be21c4cf5fa69ed1fb157be3c6f6b7e0c05d (diff)
downloadslackbuilds-3e168c3203aa81e5f4991d6d935053cc3498fca9.tar.gz
perl/perl-http-message: Updated for version 6.06.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'perl/perl-http-message/perl-http-message.SlackBuild')
-rw-r--r--perl/perl-http-message/perl-http-message.SlackBuild10
1 files changed, 4 insertions, 6 deletions
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