summaryrefslogtreecommitdiff
path: root/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-04 17:11:48 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit5cb9c638557c88ce363a3b48624e07bdc1396326 (patch)
tree5eb1c088da490f0ca46b6630e9f2593c70ec74a7 /perl/perl-Date-Manip/perl-Date-Manip.SlackBuild
parent876de0b40fb864ccb23d515bb19d59ff55ea142a (diff)
downloadslackbuilds-5cb9c638557c88ce363a3b48624e07bdc1396326.tar.gz
perl/perl-Date-Manip: Updated for version 6.52.
Fixes build with perl-5.22. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-Date-Manip/perl-Date-Manip.SlackBuild')
-rw-r--r--perl/perl-Date-Manip/perl-Date-Manip.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild
index 9d019bc443..fb5384127f 100644
--- a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild
+++ b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Date-Manip
-VERSION=${VERSION:-6.50}
+VERSION=${VERSION:-6.52}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,15 +72,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-perl Build.PL \
- prefix=/usr \
- installdirs=vendor \
- destdir=$PKG
-./Build
-./Build test
-./Build install \
- --install_path bindoc=/usr/man/man1 \
- --install_path libdoc=/usr/man/man3
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+make test
+make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;