On Jan 2, 2014, at 7:06 PM, Daniel Johnson wrote:

> 
> 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.

Thanks for the info. I'm still muddling through the dependencies.

ikiwiki itself isn't varianted, but some of the dependencies are. Since it is 
really an end-user script rather than a set of public modules, should I still 
call it ikiwiki-pm%type_pkg[perl] ?

Also, there are a fair number of data files that get installed outside of the 
%p/lib/perl5/* directories, so the variants would conflict with each other. 
Should I just do a conflicts/replaces for all of the other versions, or try to 
use update-alternatives (which tends to work for Python scripts with varianted 
deps)?

-- 
Charles Lepple
clepple@gmail




------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&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