Tuesday, 20 October 2009

Debianize a Perl module

What a good day.

Not only I've got a new laptop from the company, but I've found also an extremely useful tool to build a debian package from a perl module: dh-make-perl.

You just need to do 2 things:

- Run dh-make-perl on the untarred module directory (this creates the necessary debian dir and files).
- Inside the module directory, run debuild.

Very nice. Now I wonder why most of the CPAN and POE components don't come with a debian package...

1 comment:

  1. For those who don't know how to get these commands to work, first do this:

    sudo apt install dh-make-perl

    This is a wonderfully simple way to go about getting more Perl modules into Debian's aptitude system. Thanks for posting this.

    ReplyDelete

Troubleshooting TURN

  WebRTC applications use the ICE negotiation to discovery the best way to communicate with a remote party. I t dynamically finds a pair of...