summaryrefslogtreecommitdiff
path: root/network/perl-NetAddr-IP
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-07-05 14:39:06 -0400
committerErik Hanson <erik@slackbuilds.org>2010-07-06 02:33:55 -0500
commit8939bda3eaffc963b2749e6cf77f715862584888 (patch)
tree544f28053991198a42db79d4ab0f6b67de855d3a /network/perl-NetAddr-IP
parent4e997c7fe1ae9208e86d877a1d6992a642b85fb4 (diff)
downloadslackbuilds-8939bda3eaffc963b2749e6cf77f715862584888.tar.gz
network/perl-NetAddr-IP: Updated for version 4.028.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/perl-NetAddr-IP')
-rw-r--r--network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild22
-rw-r--r--network/perl-NetAddr-IP/perl-NetAddr-IP.info6
2 files changed, 13 insertions, 15 deletions
diff --git a/network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild b/network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
index a9e5f912ae..7be71eda70 100644
--- a/network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
+++ b/network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for perl modules: NetAddr::IP
# Home Page http://search.cpan.org/dist/NetAddr-IP/
-# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net)
+# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@
SRCNAM=NetAddr-IP
PRGNAM=perl-NetAddr-IP
-VERSION=4.027
+VERSION=4.028
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -91,20 +91,18 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove perlocal.pod and .packlist from $PKG
-( cd $PKG
- find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
-)
-
-# Remove empty directories
-find $PKG -depth -type d -empty -exec rm -rf {} \;
+find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
+# strip binaries
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+# find & compress man pages
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+
+# Remove empty directories
+find $PKG -depth -type d -empty -exec rm -rf {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/perl-NetAddr-IP/perl-NetAddr-IP.info b/network/perl-NetAddr-IP/perl-NetAddr-IP.info
index 92689d6c0a..d89e32a0fd 100644
--- a/network/perl-NetAddr-IP/perl-NetAddr-IP.info
+++ b/network/perl-NetAddr-IP/perl-NetAddr-IP.info
@@ -1,8 +1,8 @@
PRGNAM="perl-NetAddr-IP"
-VERSION="4.027"
+VERSION="4.028"
HOMEPAGE="http://search.cpan.org/dist/NetAddr-IP/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-4.027.tar.gz"
-MD5SUM="c4a21a76e5b1b9f4c8e9810b78559d7b"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-4.028.tar.gz"
+MD5SUM="fc1e79db336d0acbe99dff559080c5d1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"