pkgmk.conf(5)

NAME
pkgmk.conf - Configuration file for pkgmk.

DESCRIPTION
pkgmk.conf configures pkgutils package make, pkgmk(8).

FILE FORMAT
The file consists of a number of variable assignments of the form option=value. Comments can be specified by putting a hash (#) symbol as the first character on the line.

DIRECTIVES

If some option is not used (commented out or not included in the configuration file at all) pkgmk will take a default action.

export CFLAGS='STRING'
    Set C compiler options.
    Default: none

export CXXFLAGS='STRING'
    Set C++ compiler options.
    Default: none

export MAKEFLAGS='STRING'
    Set make options.
    Default: none

PKGMK_SOURCE_MIRRORS=('STRING')
    Set mirrors to check and download source archives from.
    Default: none

PKGMK_SOURCE_DIR='STRING'
    Set directory for downloaded source archives.
    Default: directory of Pkgfile.

PKGMK_WORK_DIR='STRING'
    Set directory for building packages.
    Default: 'foo/work', where foo is the directory of the Pkgfile.

PKGMK_WGET_OPTS='STRING'
    Additional options for wget(1), which is used by pkgmk to download all files.

PKGMK_DOWNLOAD='STRING'
    If set to 'yes', pkgmk will download the source archives if necessary.
    Default: 'no'

PKGMK_IGNORE_FOOTPRINT='STRING'
    If set to 'yes', pkgmk will not perform a footprint check of the built package.
    Default: 'no'

PKGMK_IGNORE_NEW='STRING'
    If set to 'yes', pkgmk will ignore new files in a footprint mismatch.
    Default: 'no'

PKGMK_NO_STRIP='STRING'
    If set to 'no', pkgmk will strip built binaries.
    Default: 'no'

PKGMK_IGNORE_REPO='STRING'
    Option to disable the generation of the .PKGREPO file locate in the port directory. If set to "no" it will generate this file. It will be then possible to install via the cards install command if the variable PKGMK_IGNORE_COLLECTION is also set to "no". Only set to "no" if you plan to use your port via the cards install command.
    Default: 'yes'

PKGMK_IGNORE_UNPACK='STRING'
    Option to disable the extraction of the source codes of the package. You need to extract the source code yourself prior the cd $name-$version (for example)
    Default: 'no'

PKGMK_IGNORE_COLLECTION='STRING'
    Option to deactivate the generation of the .PKGREPO file located in the parent directory. If set to "no" it will be possible to install via the cards install command your own packages from your own ports. You allow mixed content of official binaries and your own binaries. This method is not recommended.
    Default: 'yes'

PKGMK_IGNORE_RUNTIMEDEPS='STRING'
    Option to activate the runtime dependencies. If set to "no" it will add automatically the runtimedeps to the newly compiled package via the pkginfo --runtimedepfiles command. It's need for the bot and for people who want to deploy their own binary packages.
    Default: 'yes'

PKGMK_COMPRESS_PACKAGE='STRING'
    Option to activate the compression of the package produced.
    Default: 'no'

PKGMK_COMPRESSION_MODE='STRING'
    Option to select the mode used to compress the packages. Valid strings are gz, bz2 and xz.
    Default: 'xz'

PKGMK_KEEP_SOURCES='STRING'
    If set to 'yes', pkgmk will keep the sources codes of the build. If 'no', they will be delete after a successfull build.
    Default: 'no'

PKGMK_KEEP_LA_LIBS='STRING'
    If set to 'yes', pkgmk will keep the generated .la libraries files. If 'no', they will be removed after a successfull build. This option need to be used with care, some packages realy needs the .la files to work properly.
    Default: 'no'

PKGMK_CLEAN='STRING'
    If set to 'yes', pkgmk will delete the package(s) after a successfull build and a successful install of them.
    Default: 'yes'

PKGMK_COLLECTIONS=('STRING1' .. 'STRINGN')
    If set, pkgmk will look into 'STRING1', .., 'STRINGN' directories for any dependencies. Each directory is define in this variable.
    Default: '()' pkgmk will find them automatically. Possible values: '(base cli cli-extra gui gui-extra <your_collection>)'

PKGMK_GROUPS=('STRING1' .. 'STRINGN')
    If set, pkgmk will try to split the produced package into groups. Each group is define in this variable. A default function is executed if this same function is not found in the Pkgfile. Supported default group functions are: lib() devel() doc() man() service() sources()
    Default: '()' No sub package will be produced except if define in the Pkgfile Possible values: '(lib devel man doc service)'

PKGMK_PACK_SOURCE_DIR='STRING'
    Set directory for the sources files group package.
    Default: '/var/lib/pkg/src/foo', where foo is the directory name of the base package.

PKGMK_LOCALES=('STRING1' .. 'STRINGN')
    If set, pkgmk will try to produced the specified locales. Each locale is define in this variable.
    Default: '(fr)'

SEE ALSO
pkgmk(8)

COPYRIGHT
pkgmk (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2013 CRUX team (http://crux.nu). pkgmk (cards) is Copyright (c) 2013-2021 Thierry Nuttens NuTyX team (http://www.nutyx.org). pkgmk (cards) is licensed through the GNU General Public License. Read the COPYING file for the complete license.