[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 1st try at packaging perl program



On 06/29/01 Etienne Grossmann wrote:
>   this is a near-copy of a mail I sent yesterday to debian-perl. I
> think it is relevant to this list.
> 
>   I just managed to build a working .deb from a perl program (a game
> that uses gtk and gnome), after a fair amount of cruft (*).
> 
>   I build it w/ the help of the "New Maintainer's Guide", the
> "Packaging Manual", the devel, mentors and perl mailing lists. There
> are still a few things that I don't understand, such as that below.
> 
>   Would anyone be willing to send me the source tree of a debian
> package that wraps a perl program/module (or send me the url for one)?

apt-get source lib*-perl should do it.

>   Also, I read in last February's perl archive about Joey's
> CPAN::Debian and about Lupus's work in the same direction. Has anyone
> used them? I downloaded CPAN::Debian, but didn't look at it yet.

Use dh-make-perl (available in testing and unstable).

> ### Lintian complains that :
> 
>   W: bloksi: perl-script-needs-dependency "libgtk-perl" ./usr/games/bloksi use Gtk

lintian gets the perl modules wrong most of the time.

>   I tried the following lines in the 1st paragraph of the rules files
> 
>       Depends: perl, libgtk-perl, libgnome-perl, libgtk-imlib-perl
> 
>   and 
> 
>       Depends: ${shlibs:Depends},${perl:Depends}
> 
>   without results.

${shlibs:Depends} will probably be empty because there is no binary
inside the package. ${perl:Depends} 'requires' that you use debhelper 
and dh_perl in debian/rules.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better



Reply to: