On Tue, Feb 16, 1999 at 09:16:58AM +0100, Richard Braakman wrote: > Adam Klein wrote: > > Wmakerconf has a feature which can download tiles, backgrounds, and other > > stuff from themes.org. It can use either Lynx, Wget, of libwww-perl AND > > libhtml-parser-perl. How can I express this on a Depends: line? Right > > now, I just have Depends: lynx | wget | libwww-perl, and as libwww-perl > > Reccomends: libhtml-parser-perl, this usually isn't a problem. But I would > > like to know what the right solution is? > > You need to apply some propositional logic here :-) > > (A | B | (C & D)) can be rewritten as (A | B | C) & (A | B | D). > So you get: > > Depends: lynx | wget | libwww-perl, lynx | wget | libhtml-parser-perl
That may sorta work, but it's a huge hack, and it doesn't express what needs expressing. I wonder if there's a cleaner solution... Adam