Chapter 4. Environment Variables

Table of Contents

Build Environment Variables
Installation Environment Variables
Environment State Files

Build Environment Variables

Various environment variables can be set to build a package in a particular way.

Table 4.1. Build Environment Variables

Name Description Value Type REQ?
APKG_BUILD_SKIP_CONFIGURE

When set to 1, prepareBuild() will not run configure. This, in combination with $APKG_BUILD_SKIP_CONFIGURE, is useful to only create a package but not recompile all the source code. If prepareBuild is not being used, your [BuildPrepare] code should respect this variable.

numeric No
APKG_BUILD_SKIP_MAKE

When set to 1, prepareBuild() will not run make. This, in combination with $APKG_BUILD_SKIP_CONFIGURE, is useful to only create a package but not recompile all the source code. If prepareBuild is not being used, your [BuildPrepare] code should respect this variable.

numeric No
APKG_BUILD_VERBOSE

When set to 0, no build output text will be echoed.

numeric No