summaryrefslogtreecommitdiff
path: root/perl/perl-net-dns/perl-net-dns.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2012-12-29 12:34:16 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-29 12:52:58 +0100
commitaabb9a57c3c880761b296a1fc48827523c0ff20f (patch)
tree8a9950a9ec12f390766036c8ab73003c2c246a08 /perl/perl-net-dns/perl-net-dns.SlackBuild
parentd71f7af76c0465a74ee99032804b2b65ea85abc7 (diff)
downloadslackbuilds-aabb9a57c3c880761b296a1fc48827523c0ff20f.tar.gz
perl/perl-net-dns: Updated for version 0.72.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'perl/perl-net-dns/perl-net-dns.SlackBuild')
-rw-r--r--perl/perl-net-dns/perl-net-dns.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/perl/perl-net-dns/perl-net-dns.SlackBuild b/perl/perl-net-dns/perl-net-dns.SlackBuild
index c3e2a6c4b5..c1a6f7654f 100644
--- a/perl/perl-net-dns/perl-net-dns.SlackBuild
+++ b/perl/perl-net-dns/perl-net-dns.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-net-dns
-# Copyright 2008-2012 LukenShiro, Italy
+# Copyright 2008-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-dns
-VERSION=${VERSION:-0.68}
+VERSION=${VERSION:-0.72}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,11 +75,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 || true
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