On Jan 2, 2014, at 8:37 AM, Charles Lepple <clep...@gmail.com> wrote:

> Hi all,
> 
> I am looking at packaging ikiwiki, which depends on a bunch of Perl modules. 
> I am generally familiar with the Fink variants capabilities, but I am curious 
> to hear if anyone has any suggestions for choosing which Perl versions to 
> target (systemperl versus the versions in Fink).

Generally you want to target whatever perls are available on the systems you 
want to support. So in the 10.7 tree, which supports 10.7, 10.8 and 10.9, 
you'll want to have perl 5.12.3 (10.7), 5.12.4 (10.8) and 5.16.2 (10.9). All 
three are available on all three OSes to make support easier. All you need to 
do is have Type: perl (5.12.3 5.12.4 5.16.2) in your package. If your package 
doesn't have any compiled *.bundle files and no varianted deps, you can make 
your package unvarianted too. Then it doesn't matter what perl version you're 
using. Look at some existing packages for tips.

> 
> Also, I know there is a bit of CPAN magic for installing Perl packages 
> outside of Fink. Is there any way to leverage that dependency information for 
> building a Fink package description?

There isn't an automatic way to do this, though it would certainly be possible 
to come up with a script to query CPAN for dependency info and build a fink 
package from it. I usually just look at Makefile.PL or Build.PL and note the 
dependencies manually. If the dep doesn't already exist in fink I package that 
and so on recursively. http://search.cpan.org is really your friend here. 

> 
> Thanks, and Happy New Year,
> 
> -- 
> Charles Lepple
> clepple@gmail

Daniel

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to