summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2011-02-28 10:33:15 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-03-01 09:57:51 -0600
commit7585554351d3e421090cb14a7c31f41f297598ef (patch)
treed7870447a9c11a72f68142a209b86fe4ccde2dba /libraries
parent77e67c5e0fd0058f84e8cdd64b8eb527707ec6a8 (diff)
downloadslackbuilds-7585554351d3e421090cb14a7c31f41f297598ef.tar.gz
libraries/perl-Config-IniFiles: Updated for version 2.66.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild15
-rw-r--r--libraries/perl-Config-IniFiles/perl-Config-IniFiles.info6
2 files changed, 14 insertions, 7 deletions
diff --git a/libraries/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild b/libraries/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild
index 51db8c22b7..c6d1868d45 100644
--- a/libraries/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild
+++ b/libraries/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild
@@ -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
diff --git a/libraries/perl-Config-IniFiles/perl-Config-IniFiles.info b/libraries/perl-Config-IniFiles/perl-Config-IniFiles.info
index 3ffffc1faa..a3abd51eb3 100644
--- a/libraries/perl-Config-IniFiles/perl-Config-IniFiles.info
+++ b/libraries/perl-Config-IniFiles/perl-Config-IniFiles.info
@@ -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"