[Slackbuilds-users] perl-template needs updating

Andreas Vögele andreas at andreasvoegele.com
Mon Aug 22 06:53:40 UTC 2016


This works for distributions using Module::Build and
Module::Build::Tiny:

perl Build.PL \
    --installdirs vendor \
    --config installvendorman1dir=/usr/man/man1 \
    --config installvendorman3dir=/usr/man/man3
./Build
./Build test
./Build install --destdir $PKG

For distributions using ExtUtils::MakeMaker:

perl Makefile.PL \
    INSTALLDIRS=vendor \
    INSTALLVENDORMAN1DIR=/usr/man/man1 \
    INSTALLVENDORMAN3DIR=/usr/man/man3
make
make test
make install DESTDIR=$PKG

There is no need to specify both installdirs and prefix.

I've built hundreds of Perl distributions with these commands (via my
CPANPLUS::Dist::Slackware plugin).



More information about the SlackBuilds-users mailing list