diff --git a/scratchpkg.conf b/scratchpkg.conf index 84c52ff..5e240a0 100644 --- a/scratchpkg.conf +++ b/scratchpkg.conf @@ -2,10 +2,19 @@ # Configuration file for scratchpkg # +## +## COMPILE FLAGS +## CFLAGS="-O2 -march=x86-64 -pipe" CXXFLAGS="${CFLAGS}" MAKEFLAGS="-j2" +## +## REPOSITORIES +## +# -- You can add your own repository path by adding this line: +# -- PORT_REPO+(/your/repository/path) +# PORT_REPO+=(/usr/ports/core) PORT_REPO+=(/usr/ports/xorg) PORT_REPO+=(/usr/ports/xfce4) @@ -15,6 +24,12 @@ PORT_REPO+=(/usr/ports/extra) PORT_REPO+=(/usr/ports/git) PORT_REPO+=(/usr/ports/wip) +## +## PATH +## +# -- Default path for some configuration +# -- Uncomment and change it if you want change these path +# # PACKAGE_DIR="/var/cache/scratchpkg/packages" # SOURCE_DIR="/var/cache/scratchpkg/sources" # WORK_DIR="/tmp" @@ -23,9 +38,32 @@ PORT_REPO+=(/usr/ports/wip) # LOG_DIR="/var/cache/scratchpkg/log" # HOOK_DIR="/etc/hooks" +## +## GLOBAL PACKAGE OPTIONS +## +# -- These are default values for the options=() settings +# -- add '!' in front of this option to disable it +# +# -- 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) +# # 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) +# -- Uncomment and specified file/path you dont want to +# -- extract from package into system # NO_EXTRACT=(usr/share/locale)