Hm... I can&#39;t edit the wiki myself without going through the process of getting an account.<div><br></div><div>Would it be possible to add just a note to this page:</div><div><a href="http://www.vtk.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29">http://www.vtk.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29</a></div>
<div><br></div><div>Some of the supported options are not listed.</div><div><br></div><div>These are probably seldom used by most people, but they&#39;re actually quite important if you&#39;re making configuration packages or virtual packages.</div>
<div>(and they _are_ supported, so there&#39;s no reason to scare people off by making them think they aren&#39;t~)</div><div><br></div><div>Already listed:</div><div><div>CPACK_DEBIAN_PACKAGE_ARCHITECTURE</div><div>CPACK_DEBIAN_PACKAGE_MAINTAINER</div>
<div>CPACK_DEBIAN_PACKAGE_DESCRIPTION</div><div>CPACK_DEBIAN_PACKAGE_DEPENDS</div><div>CPACK_DEBIAN_PACKAGE_RECOMMENDS</div><div>CPACK_DEBIAN_PACKAGE_SUGGESTS</div><div>CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA</div><div><br></div>
<div>Not listed, but supported in Source/CPack/cmCPackDebGenerator.cxx:</div><div><br></div><div>CPACK_DEBIAN_PACKAGE_HOMEPAGE</div><div><span style="font-family:Times">The URL of the web site for this package, preferably (when applicable) the site from which the original source can be obtained and any additional upstream documentation or information may be found. The content of this field is a simple URL without any surrounding characters such as </span><samp>&lt;&gt;</samp><span style="font-family:Times">.</span></div>
<div><span style="font-family:Times"><br></span></div><div>CPACK_DEBIAN_PACKAGE_PREDEPENDS</div><div><span style="font-family:Times">This field is like</span><span style="font-family:Times"> </span><samp>Depends</samp><span style="font-family:Times">, except that it also forces</span><span style="font-family:Times"> </span><code>dpkg</code><span style="font-family:Times"> </span><span style="font-family:Times">to complete installation of the packages named before even starting the installation of the package which declares the pre-dependency.</span></div>
<div><br></div><div>CPACK_DEBIAN_PACKAGE_ENHANCES</div><div><span style="font-family:Times">This field is similar to Suggests but works in the opposite direction. It is used to declare that a package can enhance the functionality of another package.</span></div>
<div><dl style="font-family:Times"></dl></div><div>CPACK_DEBIAN_PACKAGE_BREAKS</div><div><span style="font-family:Times">When one binary package declares that it breaks another, </span><code>dpkg</code><span style="font-family:Times"> will refuse to allow the package which declares </span><samp>Breaks</samp><span style="font-family:Times"> to be unpacked unless the broken package is deconfigured first, and it will refuse to allow the broken package to be reconfigured.</span></div>
<div><span style="font-family:Times"><br></span></div><div>CPACK_DEBIAN_PACKAGE_CONFLICTS</div><div><span style="font-family:Times">When one binary package declares a conflict with another using a </span><samp>Conflicts</samp><span style="font-family:Times"> field, </span><code>dpkg</code><span style="font-family:Times"> will refuse to allow them to be unpacked on the system at the same time. This is a stronger restriction than </span><samp>Breaks</samp><span style="font-family:Times">, which prevents the broken package from being configured while the breaking package is in the &quot;Unpacked&quot; state but allows both packages to be unpacked at the same time.</span></div>
<div><span style="font-family:Times"><br></span></div><div>CPACK_DEBIAN_PACKAGE_PROVIDES</div><div><span style="font-family:Times">A </span><em style="font-family:Times">virtual package</em><span style="font-family:Times"> is one which appears in the </span><samp>Provides</samp><span style="font-family:Times"> control field of another package. The effect is as if the package(s) which provide a particular virtual package name had been listed by name everywhere the virtual package name appears. </span></div>
<div><span style="font-family:Times"><br></span></div><div>CPACK_DEBIAN_PACKAGE_REPLACES</div></div><div><span style="font-family:Times">Packages can declare in their control file that they should overwrite files in certain other packages, or completely replace other packages. The </span><samp>Replaces</samp><span style="font-family:Times"> control field has these two distinct purposes.</span></div>
<div><span style="font-family:Times"><br></span></div><div><span style="font-family:Times">~</span></div><div><span style="font-family:Times">Doug.</span></div><div><span style="font-family:Times;font-size:medium"><br></span></div>