libraries/perl-Config-IniFiles: Updated for version 2.66.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Nishant Limbachia 2011-02-28 10:33:15 -06:00 committed by Robby Workman
parent 77e67c5e0f
commit 7585554351
2 changed files with 14 additions and 7 deletions

View file

@ -3,7 +3,7 @@
# Slackware Package Build Script for perl modules: Config::IniFiles
# Home Page http://search.cpan.org/dist/Config-IniFiles/
# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
# Copyright (c) 2008-2011, 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,16 +25,18 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Config-IniFiles
VERSION=2.58
VERSION=${VERSION:-2.66}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=Config-IniFiles
# Automatically determine the architecture we're building on:
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
@ -59,7 +61,7 @@ DOCS="Changes README"
rm -rf $TMP/$SRCNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $TMP/$SRCNAM-$VERSION
chown -R root.root .
find . \
@ -68,7 +70,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
CFLAGS="$SLKCFLAGS" \
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
make install DESTDIR=$PKG

View file

@ -1,8 +1,8 @@
PRGNAM="perl-Config-IniFiles"
VERSION="2.58"
VERSION="2.66"
HOMEPAGE="http://search.cpan.org/dist/Config-IniFiles/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Config-IniFiles-2.58.tar.gz"
MD5SUM="56d3e722f4fa17146a6099f76902bb7b"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Config-IniFiles-2.66.tar.gz"
MD5SUM="b03be17e0e2b4257f97808384ebdbeb9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"