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

Re: Utility to install a perl module via apt with cpan fallback



-=| Xavier Oswald, Fri, Jan 09, 2009 at 11:39:44AM +0100 |=-
> On 03:21 Fri 09 Jan     , gregor herrmann wrote:
> 
> > > Heh, perhaps dh-make-perl can be made to check whether the package 
> > > requested to be created already exists :)
> > 
> > Despite the smiley that might actually be a nice idea, then people
> > would just have to remember "dh-make-perl --cpan Foo::Bar --build"
> > (or we could provide a wrapper with a shorter name; cpan2deb?) and if
> > the package already exists dh-make-perl says "Hey, why not just run
> > `aptitude install libFOO-BAR-perl'?".
> 
> I like the idea of a tool called cpan2deb.
> 
> This would be really nice for users who don't know the command "dh-make-perl
> --cpan Foo::Bar --build".

Ack. I start writing it. It shall mimic 'dh-make-perl --cpan Foo::Bar 
--build', but fail if the package already exists.

-- 
dam            JabberID: dam@jabber.minus273.org

Attachment: signature.asc
Description: Digital signature


Reply to: