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

Re: Creating Debian dependencies while using CPAN?



Hello 

On Sat, 29.07.00 11:33 -0400, Fabien Ninoles wrote:
> My plan is too have a sort-of script that automated all the trouble:
> 
> 	if [ debian package exist ] ; then
> 		apt-get source deb-package-name
> 		cd deb-package-name-version
> 		debian/rules cpan-update
> 		dpkg-buildpackage ${OPTIONS}
> 	else
> 		perl -MCPAN::Debian -e 'download $package'
> 		deb-make $package
> 		cd deb-package-name-version
> 		dpkg-buildpackage ${OPTIONS}
> 	fi
Well, that was even quite the same as what I was thinking about: 
Debian packages get precedence but if there are no apt/somescript 
will know how to automagically debianize, compile and install it, 
as you have in the else branch).

> However, using either of the previous methods, we can start a buildd that 
> collected their resulting packages into a cpan.debian.org archives for 
> people who want the latest and greatest of CPAN
i.e. really debianize the whole CPAN? Well after all maybe it isn't such a 
bad idea :-)


So the actual problem now is to see if it is possible to reduce the work
needed to debianize a typical perl module to an amount that is low
enough for the use of a buildd. 
I will do some tries, please mail me if you do further work on this topic.

bye,

 -christian-

-- 
           Disappointed by the apes God created mankind.
          After that he resigns from further experiments.
                           (Mark Twain)
---------------------------------------------------------------------------
Linux - the choice of the GNU generation.           Join the Debian Project 
                                                      http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Reply to: