Recently I had to quickly create a DEB package for Ubuntu for a Perl module available on CPAN (not sure why REST::Client is not available anymore).
It has been a while since the last time I did, and honestly I couldn't remember what was required to.
After some frustating minutes trying to go over the documentation for dh-make-perl, I was able to reach those two simple lines in a shell:
$ export DEBFULLNAME='Alceu Rodrigues de Freitas Junior'
$ dh-make-perl --cpan REST::Client --arch all --depends libjson-xs-perl, liblwp-protocol-https-perl, liburi-perl libwww-perl --email glasswalk3r@yahoo.com.br --build
Documentation of dh-make-perl does have a lot of space of improvement... and for my dismay, it is not even easy to do make contributions for it: no available access to the repository as you would expect to do nowadays (git pull request), first you got to be accepted as a Debian contribuitor... which is not that easy too.
No comments:
Post a Comment