diff options
Diffstat (limited to 'perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild')
-rw-r--r-- | perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild index 76df080ee67f3..56fd077dc43a3 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 ;; |