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

Re: how to build a package conditionally?



* Steve M Robbins <steven.robbins@videotron.ca> wrote:

Hi,

> What I am proposing is a source package that generates *both* a
> "main" and a "contrib" .deb.

This is not allowed.

One source package can only build packages for one section.


See, the structure on the FTP sites reflects this:

dist - main    - i386 etc.
               - source

     - contrib - i386 etc.
               - source

Debian strictly only contains main (which is
self-containing). Therefore the source has to be in main. But if the
package would also generate a contrib package, there would be a
package in this section without a a source package.


You have to split the source into two source packages for this.

Ciao,
        Martin



Reply to: