Files
scratchpkg/scratchpkg.conf
2018-08-13 22:05:23 +08:00

48 lines
1.4 KiB
Plaintext

#
# Configuration file for scratchpkg
#
##
## COMPILE FLAGS
##
CFLAGS="-O2 -march=x86-64 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEFLAGS="-j$(nproc)"
##
## PATH
##
# -- Default path for some configuration
# -- Uncomment and change it if you want change these path
#
# SOURCE_DIR="/var/cache/scratchpkg/sources"
# PACKAGE_DIR="/var/cache/scratchpkg/packages"
# WORK_DIR="/var/cache/scratchpkg/work"
# HOOK_DIR="/etc/hooks"
##
## GLOBAL PACKAGE OPTIONS
##
# -- libtool: Keep libtool file (*.la) in packages
# -- emptydirs: Keep empty directories in packages
# -- strip: Strip symbols from binaries/libraries
# -- docs: Keep docs directories specified by DOC_DIRS
# -- purge: Remove files specified in PURGE_FILES
# -- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
# -- buildflags: Enable buildflags (CFLAGS and CXXFLAGS)
# -- makeflags: Enable makeflags (MAKEFLAGS)
#
# -- These are default values for the options=() settings
# -- add '!' in front of this option to disable it
#
# OPTIONS=(!libtool emptydirs strip docs purge zipman buildflags makeflags)
# -- Files to be removed from all packages (if purge is specified)
# PURGE_FILES=(usr/{,share/}info/dir)
# -- Doc directories to remove (if !docs is specified)
# DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
# -- Manual (man and info) directories to compress (if zipman is specified)
# MAN_DIRS=({usr{,/local}{,/share},opt/*}/man)