[aklug] Re: Packaging a Perl app?

From: Arthur Corliss <acorliss@nevaeh-linux.org>
Date: Wed Jan 14 2009 - 23:37:23 AKST

On Wed, 14 Jan 2009, Christopher Howard 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?

You can still use Makefile.PL for that, and it'll take care of converting
POD to man pages, etc. There's plenty of modules on CPAN that include bin
scripts as well.

I do it myself, so let me know if you need an example.

         --Arthur Corliss
           Live Free or Die
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Jan 14 23:37:35 2009

This archive was generated by hypermail 2.1.8 : Wed Jan 14 2009 - 23:37:35 AKST