JayBonci has asked for the wisdom of the Perl Monks concerning the following question:

Ahh robe-d fiends, I present to thee, a question!

WHAT IS YOUR FAVORITE COLOR?

If you answered "Debian" to that you either:
  1. May be able to answer my question
  2. May have a poor English vocabulary
Basically my question is this, I'd like to write a perl module that automatically builds debian pacakages from their tar.gz equivalents (possibly depending on the fruit that falls from the MakeMaker tree, and not dependant on debhelper), but it's tough to find a perl module for the ar archive format. Nothing I see on CPAN leads me to believe that it exists, but I could be wrong. Is the ar format (documented here), tackled by any of the other compression modules? Thanks a bunch. If no one can find anything, then I'll be starting to work on that. Thanks.

    --jb
  • Comment on Is there a perl module available for ar archives / debian packages

Replies are listed 'Best First'.
Re: Is there a perl module available for ar archives / debian packages
by Juerd (Abbot) on Jun 01, 2002 at 22:12 UTC

    apt-get install dh-make-perl # download, build, install dh-make-perl --build --install --cpan DBIx::Simple # just build tar -zvxf Some-Module-1.00.tar.gz dh-make-perl --build Some-Module-1.00 # install built package dpkg -i some-module-perl_1.00-1_all.deb

    - Yes, I reinvent wheels.
    - Spam: Visit eurotraQ.
    

      Thanks for the reply. While dh-make-perl is a very cool utility and part of the debhelper family, it'd be cool to have a module that does do ar archives, and doesn't depend on debhelper (which in turn depends on ar).

      I've been playing with that and it's a very clean little utility. Still any ideas about ar? Thanks.

          --jb