summaryrefslogtreecommitdiff
path: root/perl/perl-http-date/perl-http-date.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2012-12-29 12:41:43 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-29 12:54:22 +0100
commit03bfe086aefd1cccb62cbfe4b21b1ad9e0976275 (patch)
tree49873501a188ccb890508b10549bbfe18bd28b54 /perl/perl-http-date/perl-http-date.SlackBuild
parentaabb9a57c3c880761b296a1fc48827523c0ff20f (diff)
downloadslackbuilds-03bfe086aefd1cccb62cbfe4b21b1ad9e0976275.tar.gz
perl/perl-http-date: Updated for version 6.02.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'perl/perl-http-date/perl-http-date.SlackBuild')
-rw-r--r--perl/perl-http-date/perl-http-date.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/perl/perl-http-date/perl-http-date.SlackBuild b/perl/perl-http-date/perl-http-date.SlackBuild
index 25cb0e7575..a5eb9601e3 100644
--- a/perl/perl-http-date/perl-http-date.SlackBuild
+++ b/perl/perl-http-date/perl-http-date.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-http-date
-# 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-date
-VERSION=${VERSION:-6.01}
+VERSION=${VERSION:-6.02}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,14 +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 -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -depth -type d -empty -delete
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done