SPUG: Packaging a Perl app?

breno breno at rio.pm.org
Wed Jan 14 17:41:42 PST 2009


On Wed, Jan 14, 2009 at 10:09 PM, Christopher Howard
<choward at indicium.us> wrote:
> I'm writing my first real Perl application at work, a Linux console app. It
> depends on one module outside the core distribution (Term::ReadKey).
>
> I was hoping to wrap the app into a tarball package. I currently have a
> simple Makefile that installs the app to /usr/bin, or to $HOME/bin for a
> local install, plus documentation. This does not seem like enough, though,
> because it doesn't check to see whether all needed modules are available
> before installing, and doesn't adjust to particulars of the user's system.
>
> My Question: Can (and should) I use MakeMaker and a Makefile.PL for this? I
> looked at ExtUtils::MakeMaker::Tutorial, but it seemed like it was meant
> more for packaging modules for installation, rather than applications.
>
> Or is there some other option I should consider?
>

Check out PAR:
http://search.cpan.org/perldoc?PAR

Cheers,

-b


More information about the spug-list mailing list