summaryrefslogtreecommitdiff
path: root/perl/perl-NetAddr-IP
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2012-05-05 12:32:42 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-07 12:18:10 -0500
commit822693ebbbd8daa6986c18908da8868816aab95b (patch)
tree83646b4cbdd6f3d7513c640e7aa8568854aeb7dd /perl/perl-NetAddr-IP
parent95abc7cbae650ff1c907360d0de20620f1eb487b (diff)
downloadslackbuilds-822693ebbbd8daa6986c18908da8868816aab95b.tar.gz
perl/perl-NetAddr-IP: Updated for version 4.059.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/perl-NetAddr-IP')
-rw-r--r--perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild21
-rw-r--r--perl/perl-NetAddr-IP/perl-NetAddr-IP.info8
-rw-r--r--perl/perl-NetAddr-IP/slack-desc2
3 files changed, 12 insertions, 19 deletions
diff --git a/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
index 20774a67d0..9f0ac0fd7b 100644
--- a/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
+++ b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
@@ -27,12 +27,13 @@
#
# Modified by the SlackBuilds.org project.
-SRCNAM=NetAddr-IP
-PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-4.058}
+PRGNAM=perl-NetAddr-IP
+VERSION=${VERSION:-4.059}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=$(echo $PRGNAM | cut -f2 -d-)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -48,8 +49,6 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-DOCS="Changes"
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -64,6 +63,7 @@ else
LIBDIRSUFFIX=""
fi
+DOCS="Changes Copying"
rm -fr $TMP/$SRCNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -84,25 +84,18 @@ perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/ma
make
make install DESTDIR=$PKG
-### putting essential docs
+# putting essential docs
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
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
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
+find $PKG -depth -type d -empty -exec rm -rf {} \;
-# 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/perl/perl-NetAddr-IP/perl-NetAddr-IP.info b/perl/perl-NetAddr-IP/perl-NetAddr-IP.info
index 87c39ce1fb..24aa54de1d 100644
--- a/perl/perl-NetAddr-IP/perl-NetAddr-IP.info
+++ b/perl/perl-NetAddr-IP/perl-NetAddr-IP.info
@@ -1,10 +1,10 @@
PRGNAM="perl-NetAddr-IP"
-VERSION="4.058"
+VERSION="4.059"
HOMEPAGE="http://search.cpan.org/dist/NetAddr-IP/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-4.058.tar.gz"
-MD5SUM="8829958dd84a8b36e3cd10347564739d"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-4.059.tar.gz"
+MD5SUM="6ac8a40e38cfdac5953f173500cd23da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"
diff --git a/perl/perl-NetAddr-IP/slack-desc b/perl/perl-NetAddr-IP/slack-desc
index 7120bca6f7..3675697ea7 100644
--- a/perl/perl-NetAddr-IP/slack-desc
+++ b/perl/perl-NetAddr-IP/slack-desc
@@ -10,7 +10,7 @@ perl-NetAddr-IP: perl-NetAddr-IP (NetAddr::IP)
perl-NetAddr-IP:
perl-NetAddr-IP: perl-NetAddr-IP provides perl modules to manage IPv4
perl-NetAddr-IP: and IPv6 addresses and subnets
-perl-NetAddr-IP:
+perl-NetAddr-IP:
perl-NetAddr-IP: Homepage: http://search.cpan.org/dist/NetAddr-IP/
perl-NetAddr-IP:
perl-NetAddr-IP: