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

Complex Depends

Hello Debian Mentors,

How do I construct a "Depends" line in debian/control for the following

   Require package-a or package-b.

   If package-a is selected, require package-1 and package-2.

   If package-b is selected, require package-3.


   package-a, package-b, package-1, package-2, and package-3 are
   not under my control.

   package-1, package-2, and package-3 do not depend on package-a or

What I think I want to do is probably not supported (or is it?):

   Depends: (package-a,package-1,package-2) | (package-b,package-3)

Encrypted Mail Preferred:
    Key ID:  8527B9AF
    Key Fingerprint:  E1B6 40B6 B73F 695E 0D3B  644E 6427 DD74 8527 B9AF
    Information:  http://www.gnupg.org/
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
    Information:  http://www.expita.com/nomime.html

Attachment: signature.asc
Description: Digital signature

Reply to: