This shows you the differences between two versions of the page.
|
config [2010/02/14 14:22] Pieter E Sartain Added some descriptions, corrected some erroneous defaults |
config [2010/02/15 14:45] (current) Pieter E Sartain Added more descriptions. |
||
|---|---|---|---|
| Line 62: | Line 62: | ||
| === Standard === | === Standard === | ||
| ^ Setting ^ Default ^ Description ^ | ^ Setting ^ Default ^ Description ^ | ||
| - | | PRE_FIX | /usr || | + | | PRE_FIX | /usr | The installation prefix. Usually specified as --prefix | |
| - | | STD_CONFIGS | || | + | | STD_CONFIGS | | Standardized configuration parameters, such as --sysconfdir and --localstatedir | |
| - | | STD_FLAGS | || | + | | STD_FLAGS | | Standard compiler flags. Passed to CFLAGS | |
| - | | EXTRA_FLAGS | || | + | | EXTRA_FLAGS | | Extra compiler flags. Also passed to CFLAGS | |
| - | | EXTRA_LDFLAGS | || | + | | EXTRA_LDFLAGS | | Linker flags. Passed to LDFLAGS | |
| - | | DEFAULT_CONFIG_COMMAND | './configure' || | + | | DEFAULT_CONFIG_COMMAND | './configure' | Used for altering the default configure command. For example to something like 'linux32 ./configure' | |
| === Logging === | === Logging === | ||
| Line 79: | Line 79: | ||
| | AUTO_CONFIG | NATIVE | Sets the type of auto-detection for configuration: NATIVE or FOREIGN | | | AUTO_CONFIG | NATIVE | Sets the type of auto-detection for configuration: NATIVE or FOREIGN | | ||
| | AUTO_CONFIG_OPTIONS | "sysconfdir localstatedir" | | | | AUTO_CONFIG_OPTIONS | "sysconfdir localstatedir" | | | ||
| - | | ADD_EXPLICIT_HOST | || | + | | ADD_EXPLICIT_HOST | | Setting this to YES, passes ''CFLAGS=-O2 -march=i486 -mtune=i686 ./configure --prefix=/usr --build=i486-slackware-linux --host=i486-slackware-linux'' explicitly to the configure script. | |
| - | | ADD_HOST | || | + | | ADD_HOST | | Setting this to YES adds the HOST_OS string to the end of the configure script: ''./configure i486-slackware-linux'' | |
| ==== Make ==== | ==== Make ==== | ||
| Line 86: | Line 86: | ||
| ^ Setting ^ Default ^ Description ^ | ^ Setting ^ Default ^ Description ^ | ||
| | DEFAULT_MAKE_COMMAND | 'make' || | | DEFAULT_MAKE_COMMAND | 'make' || | ||
| - | | JOBS | ' ' || | + | | JOBS | ' ' | Ostensibly used to pass the ''-j'' switch to the make command. | |
| ==== Make install ==== | ==== Make install ==== | ||
| ^ Setting ^ Default ^ Description ^ | ^ Setting ^ Default ^ Description ^ | ||
| - | | INSTALL_TYPE | JAIL || | + | | INSTALL_TYPE | JAIL | The installation method: REAL, DESTDIR, JAIL or UNION | |
| - | | UNIONFS_TYPE | unionfs-fuse || | + | | UNIONFS_TYPE | unionfs-fuse | When using the UNION install type, what filesystem to use: unionfs-fuse or unionfs | |
| - | | FAIL_ON_BAD_DIRS | YES || | + | | FAIL_ON_BAD_DIRS | YES | Abort if a build installs items into an incorrect or potentially dangerous directory | |
| ==== Package documents ==== | ==== Package documents ==== | ||
| ^ Setting ^ Default ^ Description ^ | ^ Setting ^ Default ^ Description ^ | ||
| - | | COMPRESS_DOCS | NO || | + | | COMPRESS_DOCS | NO | Compress the documents | |
| - | | DOC_COMPRESSOR | gzip || | + | | DOC_COMPRESSOR | gzip | Compression method: gzip, bzip2, lzma | |
| - | | LINK_LICENSES | NO || | + | | LINK_LICENSES | NO | If set to YES, common licenses found in the package are moved to a common licence directory and linked to the document directory | |
| - | | AUTO_DESKTOP | NO || | + | | AUTO_DESKTOP | NO | Attempts to create a *.desktop file when applicable | |
| ^ Setting ^ Default ^ Description ^ | ^ Setting ^ Default ^ Description ^ | ||
| - | | DESC_WRAP_LENGTH | 80 || | + | | DESC_WRAP_LENGTH | 80 | Characters per line | |
| | HANDY_RULER_TEXT | "Use this guide to format your text width" || | | HANDY_RULER_TEXT | "Use this guide to format your text width" || | ||
| - | | DESC_MAX_LINES | 11 || | + | | DESC_MAX_LINES | 11 | Maximum lines in a description file | |
| ==== Extra Files ==== | ==== Extra Files ==== | ||
| ^ Setting ^ Default ^ Description ^ | ^ Setting ^ Default ^ Description ^ | ||
| - | | ADD_SRC2PKG_SCRIPT | "NO" || | + | | ADD_SRC2PKG_SCRIPT | "NO" | Setting "YES" adds any build script created in the process to the package | |
| | SRC2PKG_SCRIPT_DIR | "/usr/src/src2pkg/scripts" || | | SRC2PKG_SCRIPT_DIR | "/usr/src/src2pkg/scripts" || | ||
| - | | USE_VERSION_NUMBERS | "NO" || | + | | USE_VERSION_NUMBERS | "NO" | Use program version numbers when placing scripts outside of the DOC_DIR if set to "YES" | |
| - | | LINK_SCRIPT_TO_DOC_DIR | "NO" || | + | | LINK_SCRIPT_TO_DOC_DIR | "NO" | Create a symlink in the DOC_DIR to any script added to the package if set to "YES" | |
| - | | EXTENDED_DATABASE | "YES" || | + | | EXTENDED_DATABASE | "YES" || |
| - | | INCLUDE_DEP_VERSIONS | "NO" || | + | | INCLUDE_DEP_VERSIONS | "NO" || |
| - | | INCLUDE_BASE_LIBS | NO || | + | | INCLUDE_BASE_LIBS | NO || |
| - | | ADD_PROVIDES_FILE | "YES" || | + | | ADD_PROVIDES_FILE | "YES" || |
| | PKG_PROVIDES | 'slack-provides' || | | PKG_PROVIDES | 'slack-provides' || | ||
| - | | ADD_REQUIRED_FILE | "YES" || | + | | ADD_REQUIRED_FILE | "YES" || |
| | PKG_REQUIRED | 'slack-required' || | | PKG_REQUIRED | 'slack-required' || | ||