On 8/22/16, Andreas Vögele <[email protected]> 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? _______________________________________________ SlackBuilds-users mailing list [email protected] http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
