开发者

Packaging a Perl application

I need to package a Perl Dancer application for installation using RPM. Pretty much all of the Perl module/distribution tools deal with installing files into Perl specific locations, such as /usr/lib/perl. I need to be able to create an installation in a self contained location, such as /opt/foo.

I know about App::Build, which looks like it might be useful, and provides facilities missing from Module::Build. I expect there might be a Dist::Zilla plugin to do this sort of thing but I've been unable to locate one.

What tools would you sugg开发者_运维技巧est using for building, testing and packaging a Perl 'application'?

The layout of the application would follow normal Dancer style, with /public, /views, /lib, etc


You are mistaken in saying that Module::Build is missing the functionality to install additional (non-lib) directories. See the Cookbook.


I don't know if this helps at all. It describes what we do at work:

http://www.slideshare.net/p3castro/packaging-perl

Caveat: we use a common Perl install across all applications.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜