summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/perl-http-message/perl-http-message.SlackBuild10
-rw-r--r--perl/perl-http-message/perl-http-message.info8
2 files changed, 8 insertions, 10 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
diff --git a/perl/perl-http-message/perl-http-message.info b/perl/perl-http-message/perl-http-message.info
index 0b5d6ef922..00b89a17eb 100644
--- a/perl/perl-http-message/perl-http-message.info
+++ b/perl/perl-http-message/perl-http-message.info
@@ -1,10 +1,10 @@
PRGNAM="perl-http-message"
-VERSION="6.03"
+VERSION="6.06"
HOMEPAGE="http://search.cpan.org/dist/HTTP-Message/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Message-6.03.tar.gz"
-MD5SUM="d41b22c7c01b974f2b4e85d401a6b552"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Message-6.06.tar.gz"
+MD5SUM="e563ac516e28d33f65bc0f295f625f85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-encode-locale perl-html-parser perl-http-date perl-lwp-mediatypes"
+REQUIRES="perl-encode-locale perl-html-parser perl-http-date perl-lwp-mediatypes perl-IO-HTML"
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"