summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2012-12-29 14:12:48 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-29 14:13:25 +0100
commit80b4be21c4cf5fa69ed1fb157be3c6f6b7e0c05d (patch)
tree96bb6c9482e72948c6c0e4d9c7663d4ac5480e4e
parent03bfe086aefd1cccb62cbfe4b21b1ad9e0976275 (diff)
downloadslackbuilds-80b4be21c4cf5fa69ed1fb157be3c6f6b7e0c05d.tar.gz
perl/perl-net-http: Updated for version 6.05.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--perl/perl-net-http/perl-net-http.SlackBuild8
-rw-r--r--perl/perl-net-http/perl-net-http.info6
2 files changed, 6 insertions, 8 deletions
diff --git a/perl/perl-net-http/perl-net-http.SlackBuild b/perl/perl-net-http/perl-net-http.SlackBuild
index 7387f8464e..64a29c7c7b 100644
--- a/perl/perl-net-http/perl-net-http.SlackBuild
+++ b/perl/perl-net-http/perl-net-http.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-net-http
-# 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-net-http
-VERSION=${VERSION:-6.03}
+VERSION=${VERSION:-6.05}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -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-net-http/perl-net-http.info b/perl/perl-net-http/perl-net-http.info
index 65202a6611..e9d3172791 100644
--- a/perl/perl-net-http/perl-net-http.info
+++ b/perl/perl-net-http/perl-net-http.info
@@ -1,8 +1,8 @@
PRGNAM="perl-net-http"
-VERSION="6.03"
+VERSION="6.05"
HOMEPAGE="http://search.cpan.org/dist/Net-HTTP/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Net-HTTP-6.03.tar.gz"
-MD5SUM="86957940d96649ca782b686686b82e7b"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Net-HTTP-6.05.tar.gz"
+MD5SUM="8a704804045e31d6fe589214594aaf21"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""