Perlbal - building a debian package

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > January 2007 > building a debian package





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author building a debian package
Tomas Markauskas

2007-01-20, 7:11 am

Hi,

I would like to build a perlbal debian package, but I don't really
understand how to do it. I tried it with `dpkg -b`, but it did not
work. Could anyone explain it or just where to get one?

Thanks,

Tomas

Jonathan Steinert

2007-01-20, 7:12 pm

There's a utility with debian called 'dh-make-perl' that helps a lot

You need to install it (plus fakeroot) first:
# apt-get install dh-make-perl fakeroot

Then, from inside the perlbal distribution you can then do:
$ dh-make-perl

And then it should say "Done" and you can do
$ dpkg-buildpackage -rfakeroot

and it will build a .deb file for you in the parent directory.

I just tried this out and had no problems, hope it goes well for you.

--Jonathan


Tomas Markauskas wrote:
> Hi,
>
> I would like to build a perlbal debian package, but I don't really
> understand how to do it. I tried it with `dpkg -b`, but it did not
> work. Could anyone explain it or just where to get one?
>
> Thanks,
>
> Tomas



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com