summaryrefslogtreecommitdiff
path: root/perl/perl-Image-Info/perl-Image-Info.SlackBuild
diff options
context:
space:
mode:
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 550308050c..faebb4be07 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