aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Image-Info/perl-Image-Info.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2012-12-18 16:59:45 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:44 -0500
commit70ef36387f86305349374dcef8247839e1707fe2 (patch)
tree0484d8e9f8852a11a14bb044955a0f7240ab5677 /perl/perl-Image-Info/perl-Image-Info.SlackBuild
parentf150ce04e5b0a7ec49a053a16f1a8f67f9b9d6f9 (diff)
perl/perl-Image-Info: Updated for version 1.33.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/perl-Image-Info/perl-Image-Info.SlackBuild')
-rw-r--r--perl/perl-Image-Info/perl-Image-Info.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/perl/perl-Image-Info/perl-Image-Info.SlackBuild b/perl/perl-Image-Info/perl-Image-Info.SlackBuild
index 550308050cad5..faebb4be07c4c 100644
--- a/perl/perl-Image-Info/perl-Image-Info.SlackBuild
+++ b/perl/perl-Image-Info/perl-Image-Info.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for perl modules: Image::Info
# Home Page http://search.cpan.org/dist/Image-Info/
-# Copyright (c) 2009-2012, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2009-2013, Nishant Limbachia, Hoffman Estates, IL, USA
# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
@@ -27,12 +27,13 @@
#
# Modified by the SlackBuilds.org project.
-SRCNAM=Image-Info
-PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-1.32}
+PRGNAM="perl-Image-Info"
+VERSION=${VERSION:-1.33}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -77,7 +78,8 @@ find . \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
+perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 INSTALLVENDORMAN3DIR=/usr/man/man3
make
make install DESTDIR=$PKG