On Tue, Mar 29, 2005 at 12:22:39AM -0600, David Moreno Garza wrote: > On Mon, 2005-03-28 at 09:37 -0700, David Everly wrote: > > Hello Debian Mentors, > > > > How do I construct a "Depends" line in debian/control for the following > > example: > > > > 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. > > > > Notes: > > > > 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 > > package-b. > > > > 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) > > My quick thought would be: > > Build different binary packages, i.e. foo-package-a depends on package-1 > and package-2 and foo-package-b depends on package-3, where foo is, > probably, the common name for your packages. That's all. > > I hope this could reach what you were expecting.
Thanks. Yes, this worked quite well. > -- > David Moreno Garza <[EMAIL PROTECTED]> | http://www.damog.net/ > People bitched at me to learn a foreign language so I learned Perl. > GPG: C671257D - 6EF6 C284 C95D 78F6 0B78 FFD3 981C 5FD7 C671 257D > > > -- 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
signature.asc
Description: Digital signature