aboutsummaryrefslogtreecommitdiff
path: root/doc/apkg.conf.readme
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-12-22 03:19:44 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-12-22 03:19:44 +0800
commit7702b15c4ccd839932ad1378cacb7deec67c7d0c (patch)
tree8f3ca49e8c1daef47bc627c51f03f02d8deaa492 /doc/apkg.conf.readme
parentb4f8269c034d67612f3054e5cc7b4da30d3bd380 (diff)
downloadautils-7702b15c4ccd839932ad1378cacb7deec67c7d0c.tar.gz
autils-7702b15c4ccd839932ad1378cacb7deec67c7d0c.zip
updated some docs
Diffstat (limited to 'doc/apkg.conf.readme')
-rw-r--r--doc/apkg.conf.readme41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/apkg.conf.readme b/doc/apkg.conf.readme
new file mode 100644
index 0000000..dd33863
--- /dev/null
+++ b/doc/apkg.conf.readme
@@ -0,0 +1,41 @@
+# 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>
+
+# 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
+
+# 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