diff --git a/doc/manual.txt b/doc/manual.txt index 01e36a7c5eb..207810e504c 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -418,6 +418,55 @@ package is downloaded, compiled and installed. NOTE: A function defined in a template has preference over the same function defined by a `build_style` script. +Build options +~~~~~~~~~~~~~ + +Some packages might be built with different build options to enable/disable +additional features; `xbps-src` allows you to do this with some simple tweaks +to the `template` file. + +The following variables may be set to allow package build options: + +*build_options*:: + Sets the build options supported by the source package. + +*build_options_default*:: + Sets the default build options to be used by the source package. + +*desc_option_