From e9e7c963c00d9902561075332e17392f47c1cda2 Mon Sep 17 00:00:00 2001 From: Chris Novakovic Date: Fri, 12 Dec 2014 00:09:22 -0600 Subject: perl-template.SlackBuild: Several fixes - INSTALLVENDORMAN1DIR=/usr/man/man1 is now set during build method #1, so man pages in section 1 are installed in a location supported by Slackware - The options "prefix" and "installdirs" that are passed to Build.PL in build method #2 are now correctly recognised - "destdir" is now passed to `./Build install` instead of Build.PL in build method #2, as recommended by the Module::Build::Cookbook documentation Signed-off-by: Robby Workman --- perl-template.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/perl-template.SlackBuild b/perl-template.SlackBuild index 53adb0d..6787cda 100644 --- a/perl-template.SlackBuild +++ b/perl-template.SlackBuild @@ -106,6 +106,7 @@ find -L . \ perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make make test @@ -113,12 +114,12 @@ make install DESTDIR=$PKG # Build method #2 perl Build.PL \ - prefix=/usr \ - installdirs=vendor \ - destdir=$PKG + prefix /usr \ + installdirs vendor ./Build ./Build test ./Build install \ + --destdir $PKG \ --install_path bindoc=/usr/man/man1 \ --install_path libdoc=/usr/man/man3 -- cgit v1.2.3