perl/perl-IP-Country: Updated for version 2.28.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Nishant Limbachia 2013-06-05 12:03:17 -04:00 committed by dsomero
parent 224e6b83f6
commit c515acb070
3 changed files with 23 additions and 23 deletions

View file

@ -3,13 +3,14 @@
# Slackware Package Build Script for perl modules: IP::Country # Slackware Package Build Script for perl modules: IP::Country
# Home Page http://search.cpan.org/dist/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. # 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: # 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 list of conditions and the following disclaimer.
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
@ -26,18 +27,17 @@
# #
# Modified by the SlackBuilds.org project. # Modified by the SlackBuilds.org project.
SRCNAM=IP-Country PRGNAM="perl-IP-Country"
PRGNAM=perl-IP-Country VERSION=${VERSION:-2.28}
VERSION=2.27
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on: SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -79,9 +79,9 @@ find . \
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
perl Makefile.PL \ perl Makefile.PL \
PREFIX=/usr INSTALLDIRS=vendor \ PREFIX=/usr INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3 \ INSTALLVENDORMAN3DIR=/usr/man/man3 \
INSTALLVENDORMAN1DIR=/usr/man/man1 INSTALLVENDORMAN1DIR=/usr/man/man1
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
@ -105,7 +105,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
( cd $PKG/usr/man ( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \; find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
) )
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="perl-IP-Country" PRGNAM="perl-IP-Country"
VERSION="2.27" VERSION="2.28"
HOMEPAGE="http://search.cpan.org/dist/IP-Country/" 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" DOWNLOAD="http://search.cpan.org/CPAN/authors/id/N/NW/NWETTERS/IP-Country-2.28.tar.gz"
MD5SUM="32932280ee4729145e85e08dad5ab8c6" MD5SUM="dcca005cee156935b34a16e1bbddb00e"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="perl-Geography-Countries" REQUIRES="perl-Geography-Countries"

View file

@ -1,16 +1,16 @@
# HOW TO EDIT THIS FILE: # HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line # The "handy ruler" below makes it easier to edit a package description.
# up the first '|' above the ':' following the base package name, and the '|' # Line up the first '|' above the ':' following the base package name, and
# on the right side marks the last column you can put a character in. You must # the '|' on the right side marks the last column you can put a character in.
# make exactly 11 lines for the formatting to be correct. It's also # You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
perl-IP-Country: perl-IP-Country (IP::Country) perl-IP-Country: perl-IP-Country (IP::Country)
perl-IP-Country: perl-IP-Country:
perl-IP-Country: perl-IP-Country - fast lookup of country codes from IP perl-IP-Country: perl-IP-Country - fast lookup of country codes from IP
perl-IP-Country: addresses. perl-IP-Country: addresses.
perl-IP-Country: perl-IP-Country:
perl-IP-Country: perl-IP-Country:
perl-IP-Country: perl-IP-Country:
perl-IP-Country: Homepage: http://search.cpan.org/dist/IP-Country/ perl-IP-Country: Homepage: http://search.cpan.org/dist/IP-Country/