autils

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/autils
Log | Files | Refs | README | LICENSE

apkg.conf.readme (2071B)


      1 # this is configuration file for 'apkg' located at '/etc/apkg.conf'
      2 # this file will get sourced before reading any package abuild recipe
      3 #
      4 # its good to export some compiler flags here
      5 #export CFLAGS="-O3 -march=x86-64 -pipe"
      6 #export CXXFLAGS="$CFLAGS"
      7 #export JOBS=$(nproc)
      8 #export MAKEFLAGS=-j$JOBS
      9 #export NINJAJOBS=$JOBS
     10 
     11 # repo path that contains package abuild recipe
     12 # the order is matter, which package found first will take precedence
     13 #APKG_REPO="<path to repo> <path to next repo> <and so on>"
     14 
     15 # path to prebuilt packages
     16 # if this not use, package will built inside package build recipe directory instead
     17 #APKG_PACKAGE_DIR=<path to package directory>
     18 
     19 # path to source tarball
     20 # if this not use, source tarball will fetched into package build recipe directory instead
     21 APKG_SOURCE_DIR=<path to source directory>
     22 
     23 # working directory path, where source is extracted and fakeroot location before packaging
     24 #APKG_WORK_DIR=<path to working directory>
     25 
     26 # package build logging directory path (log file is $APKG_WORK_DIR/$name.log)
     27 #APKG_LOG_DIR=<path to logging directory>
     28 
     29 # enable package build logging
     30 #APKG_LOG=1
     31 
     32 # keep source when build failed, good to examine what causing build failed
     33 #APKG_KEEP_WORKDIR=1
     34 
     35 # skip user prompt when using '-I' and '-U' options (disable interactive mode, good to use in scripting)
     36 #APKG_NOPROMPT=1
     37 
     38 # package dependencies alias
     39 # example: point openssl to libressl, so when installing package that depends on openssl will pull libressl instead
     40 # format: '<realpkg>:<aliasedpkg>'
     41 #APKG_ALIAS="openssl:libressl pkg1:pkg2"
     42 
     43 # package mask
     44 # avoid package(s) from get upgraded
     45 #APKG_MASK="musl gcc linux"
     46 
     47 # you can define and export whatever needed variable here as long its safe and not conflicting with other important
     48 # build variable, example, keep_* can be used here to set globally
     49 #keep_static=1
     50 #keep_libtool=1
     51 #keep_locale=1
     52 #keep_doc=1
     53 
     54 # you can also define ccache variable here to speed up package rebuild (required 'ccache' package installed)
     55 #export PATH=/usr/lib/ccache:$PATH
     56 #export CCACHE_DIR=/var/cache/ccache