summaryrefslogtreecommitdiff
path: root/network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild')
-rw-r--r--network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild b/network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
index f202037d5d..9e234c42a2 100644
--- a/network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
+++ b/network/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
@@ -3,7 +3,8 @@
# 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
@@ -26,18 +27,17 @@
#
# Modified by the SlackBuilds.org project.
-SRCNAM=NetAddr-IP
-PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-4.032}
+PRGNAM=perl-NetAddr-IP
+VERSION=${VERSION:-4.037}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+SRCNAM=$(echo $PRGNAM | cut -f2- -d-)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi