summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2012-12-18 16:59:59 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:45 -0500
commit1456f56579a837349ebcd9097810970044735696 (patch)
tree94a8b6fcd360c4ae2f4891fd8d8c7c185712f87c
parent8caaace22948a61d2e1ab60e8e74fbada0c9ee90 (diff)
downloadslackbuilds-1456f56579a837349ebcd9097810970044735696.tar.gz
perl/perl-Net-CIDR: Updated for version 0.17.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild11
-rw-r--r--perl/perl-Net-CIDR/perl-Net-CIDR.info6
2 files changed, 9 insertions, 8 deletions
diff --git a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild
index 76df080ee6..56fd077dc4 100644
--- a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild
+++ b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild
@@ -3,8 +3,8 @@
# Slackware Package Build Script for perl modules: Net::CIDR
# Home Page http://search.cpan.org/dist/Net-CIDR/
-# Copyright (c) 2008-2012, Nishant Limbachia, Hoffman Estates, IL, USA
-# [nishant _AT_ mnspace _DOT_ net]
+# Copyright (c) 2008-2013, 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
@@ -25,11 +25,12 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=Net-CIDR
-PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-0.15}
+PRGNAM="perl-Net-CIDR"
+VERSION=${VERSION:-0.17}
BUILD=${BUILD:-1}
+SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
diff --git a/perl/perl-Net-CIDR/perl-Net-CIDR.info b/perl/perl-Net-CIDR/perl-Net-CIDR.info
index 11608a4000..a30909ced1 100644
--- a/perl/perl-Net-CIDR/perl-Net-CIDR.info
+++ b/perl/perl-Net-CIDR/perl-Net-CIDR.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Net-CIDR"
-VERSION="0.15"
+VERSION="0.17"
HOMEPAGE="http://search.cpan.org/dist/Net-CIDR/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MR/MRSAM/Net-CIDR-0.15.tar.gz"
-MD5SUM="6eca3c186c9ecfa27a878f76e00e8929"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MR/MRSAM/Net-CIDR-0.17.tar.gz"
+MD5SUM="c4632887a13663c7ba769bd6ba1b3c26"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""