diff options
author | LukenShiro <lukenshiro@ngi.it> | 2012-12-29 14:12:48 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-29 14:13:25 +0100 |
commit | 80b4be21c4cf5fa69ed1fb157be3c6f6b7e0c05d (patch) | |
tree | 96bb6c9482e72948c6c0e4d9c7663d4ac5480e4e /perl/perl-net-http/perl-net-http.SlackBuild | |
parent | 03bfe086aefd1cccb62cbfe4b21b1ad9e0976275 (diff) |
perl/perl-net-http: Updated for version 6.05.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'perl/perl-net-http/perl-net-http.SlackBuild')
-rw-r--r-- | perl/perl-net-http/perl-net-http.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/perl/perl-net-http/perl-net-http.SlackBuild b/perl/perl-net-http/perl-net-http.SlackBuild index 7387f8464ef0a..64a29c7c7b2c3 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 |