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 +# # 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 diff --git a/network/perl-NetAddr-IP/perl-NetAddr-IP.info b/network/perl-NetAddr-IP/perl-NetAddr-IP.info index 87a36e9f86..29b1cc4cfb 100644 --- a/network/perl-NetAddr-IP/perl-NetAddr-IP.info +++ b/network/perl-NetAddr-IP/perl-NetAddr-IP.info @@ -1,10 +1,10 @@ PRGNAM="perl-NetAddr-IP" -VERSION="4.032" +VERSION="4.037" HOMEPAGE="http://search.cpan.org/dist/NetAddr-IP/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-4.032.tar.gz" -MD5SUM="e5299a9282918c8ba41c32ef4f27e559" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-4.037.tar.gz" +MD5SUM="d966eac6b5941af3f7c1fad839569cb4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" -APPROVED="dsomero" +APPROVED="Niels Horn"