diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2013-06-05 12:03:17 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-06-05 12:03:17 -0400 |
commit | c515acb0700c884d6e53d0b20ae186842728f821 (patch) | |
tree | 62420f08e69b47ef9e9b398d69c60a42f264f2a3 | |
parent | 224e6b83f682e23ff5cea4de639820b40e2058e7 (diff) |
perl/perl-IP-Country: Updated for version 2.28.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | perl/perl-IP-Country/perl-IP-Country.SlackBuild | 24 | ||||
-rw-r--r-- | perl/perl-IP-Country/perl-IP-Country.info | 6 | ||||
-rw-r--r-- | perl/perl-IP-Country/slack-desc | 16 |
3 files changed, 23 insertions, 23 deletions
diff --git a/perl/perl-IP-Country/perl-IP-Country.SlackBuild b/perl/perl-IP-Country/perl-IP-Country.SlackBuild index 85199935817b..3a540db8740b 100644 --- a/perl/perl-IP-Country/perl-IP-Country.SlackBuild +++ b/perl/perl-IP-Country/perl-IP-Country.SlackBuild @@ -3,13 +3,14 @@ # Slackware Package Build Script for perl modules: IP::Country # Home Page http://search.cpan.org/dist/IP-Country/ -# Copyright (c) 2008-2010, 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 +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -26,18 +27,17 @@ # # Modified by the SlackBuilds.org project. -SRCNAM=IP-Country -PRGNAM=perl-IP-Country -VERSION=2.27 +PRGNAM="perl-IP-Country" +VERSION=${VERSION:-2.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: +SRCNAM="$(printf $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 @@ -79,9 +79,9 @@ find . \ CFLAGS="$SLKCFLAGS" \ perl Makefile.PL \ -PREFIX=/usr INSTALLDIRS=vendor \ -INSTALLVENDORMAN3DIR=/usr/man/man3 \ -INSTALLVENDORMAN1DIR=/usr/man/man1 + PREFIX=/usr INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 \ + INSTALLVENDORMAN1DIR=/usr/man/man1 make make install DESTDIR=$PKG @@ -105,7 +105,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-IP-Country/perl-IP-Country.info b/perl/perl-IP-Country/perl-IP-Country.info index b9ed187d8851..12ccaf75aac3 100644 --- a/perl/perl-IP-Country/perl-IP-Country.info +++ b/perl/perl-IP-Country/perl-IP-Country.info @@ -1,8 +1,8 @@ PRGNAM="perl-IP-Country" -VERSION="2.27" +VERSION="2.28" HOMEPAGE="http://search.cpan.org/dist/IP-Country/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/N/NW/NWETTERS/IP-Country-2.27.tar.gz" -MD5SUM="32932280ee4729145e85e08dad5ab8c6" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/N/NW/NWETTERS/IP-Country-2.28.tar.gz" +MD5SUM="dcca005cee156935b34a16e1bbddb00e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Geography-Countries" diff --git a/perl/perl-IP-Country/slack-desc b/perl/perl-IP-Country/slack-desc index b0cca090d872..5558f4156a27 100644 --- a/perl/perl-IP-Country/slack-desc +++ b/perl/perl-IP-Country/slack-desc @@ -1,16 +1,16 @@ # HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| perl-IP-Country: perl-IP-Country (IP::Country) perl-IP-Country: -perl-IP-Country: perl-IP-Country - fast lookup of country codes from IP -perl-IP-Country: addresses. -perl-IP-Country: +perl-IP-Country: perl-IP-Country - fast lookup of country codes from IP +perl-IP-Country: addresses. +perl-IP-Country: perl-IP-Country: perl-IP-Country: perl-IP-Country: Homepage: http://search.cpan.org/dist/IP-Country/ |