aboutsummaryrefslogtreecommitdiff
path: root/doc/apkg.conf.readme
blob: 7b2f83a2ae6300860bebb51f0e8fcfe4cd9b830e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# this is configuration file for 'apkg' located at '/etc/apkg.conf'
# this file will get sourced before reading any package abuild recipe
#
# its good to export some compiler flags here
#export CFLAGS="-O3 -march=x86-64 -pipe"
#export CXXFLAGS="$CFLAGS"
#export JOBS=$(nproc)
#export MAKEFLAGS=-j$JOBS
#export NINJAJOBS=$JOBS

# repo path that contains package abuild recipe
# the order is matter, which package found first will take precedence
#APKG_REPO="<path to repo> <path to next repo> <and so on>"

# path to prebuilt packages
# if this not use, package will built inside package build recipe directory instead
#APKG_PACKAGE_DIR=<path to package directory>

# path to source tarball
# if this not use, source tarball will fetched into package build recipe directory instead
APKG_SOURCE_DIR=<path to source directory>

# working directory path, where source is extracted and fakeroot location before packaging
#APKG_WORK_DIR=<path to working directory>

# package build logging directory path (log file is $APKG_WORK_DIR/$name.log)
#APKG_LOG_DIR=<path to logging directory>

# enable package build logging
#APKG_LOG=1

# keep source when build failed, good to examine what causing build failed
#APKG_KEEP_WORKDIR=1

# skip user prompt when using '-I' and '-U' options (disable interactive mode, good to use in scripting)
#APKG_NOPROMPT=1

# package dependencies alias
# example: point openssl to libressl, so when installing package that depends on openssl will pull libressl instead
# format: '<realpkg>:<aliasedpkg>'
#APKG_ALIAS="openssl:libressl pkg1:pkg2"

# package mask
# avoid package(s) from get upgraded
#APKG_MASK="musl gcc linux"

# you can define and export whatever needed variable here as long its safe and not conflicting with other important
# build variable, example, keep_* can be used here to set globally
#keep_static=1
#keep_libtool=1
#keep_locale=1
#keep_doc=1

# you can also define ccache variable here to speed up package rebuild (required 'ccache' package installed)
#export PATH=/usr/lib/ccache:$PATH
#export CCACHE_DIR=/var/cache/ccache