[Slackbuilds-users] perl-template needs updating

B Watson yalhcru at gmail.com
Mon Aug 22 15:42:12 UTC 2016


On 8/22/16, Andreas Vögele <andreas at andreasvoegele.com> wrote:
> 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).

OK, I've only done SlackBuilds for 3 or 4, so I'll definitely bow to
your experience.

So, do you agree that the template code at
https://slackbuilds.org/templates/perl-template.SlackBuild is broken?


More information about the SlackBuilds-users mailing list