2009-10-18 09:17:26 +00:00
|
|
|
#
|
|
|
|
# Configuration file for xbps-src.
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
2009-11-22 07:31:44 +00:00
|
|
|
# Directory where xbps-src has been installed. By default /usr/local.
|
2010-01-16 01:11:44 +00:00
|
|
|
# Usually you don't have to change this one, it's set by "make install".
|
2009-10-18 09:17:26 +00:00
|
|
|
#
|
|
|
|
XBPS_INSTALLDIR=@@XBPS_INSTALL_PREFIX@@
|
|
|
|
|
|
|
|
#
|
2010-01-16 01:11:44 +00:00
|
|
|
# Directory where the xbps-src GIT repository is stored. This is
|
2009-11-22 07:31:44 +00:00
|
|
|
# required to be mounted in the chroot.
|
2009-10-18 09:17:26 +00:00
|
|
|
#
|
2009-11-22 07:31:44 +00:00
|
|
|
XBPS_DISTRIBUTIONDIR=$HOME/xbps-templates
|
2009-10-18 09:17:26 +00:00
|
|
|
|
|
|
|
#
|
2010-01-09 22:35:11 +00:00
|
|
|
# Chroot master directory.
|
2009-10-18 09:17:26 +00:00
|
|
|
#
|
|
|
|
XBPS_MASTERDIR=$XBPS_DISTRIBUTIONDIR/masterdir
|
|
|
|
|
|
|
|
#
|
2010-01-16 01:11:44 +00:00
|
|
|
# Directory where a local binary package repository is available
|
|
|
|
# (or will be created from). Packages will be stored here.
|
2009-10-18 09:17:26 +00:00
|
|
|
#
|
|
|
|
XBPS_PACKAGESDIR=$XBPS_DISTRIBUTIONDIR/packages
|
|
|
|
|
|
|
|
#
|
2010-01-16 01:11:44 +00:00
|
|
|
# Directory where source files will be extracted to and build object
|
|
|
|
# files will live on.
|
2009-10-18 09:17:26 +00:00
|
|
|
#
|
|
|
|
XBPS_BUILDDIR=$XBPS_DISTRIBUTIONDIR/builddir
|
|
|
|
|
|
|
|
#
|
|
|
|
# Directory where source distribution files are stored.
|
|
|
|
#
|
|
|
|
XBPS_SRCDISTDIR=$XBPS_DISTRIBUTIONDIR/srcdistdir
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compilation flags for cc and c++.
|
|
|
|
#
|
|
|
|
XBPS_CFLAGS="-O2 -pipe"
|
|
|
|
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
|
|
|
|
|
|
|
#
|
2010-01-16 01:11:44 +00:00
|
|
|
# Number of jobs when running make(1)-alike commands.
|
2009-10-18 09:17:26 +00:00
|
|
|
#
|
|
|
|
#XBPS_MAKEJOBS=4
|
|
|
|
|
2009-10-20 13:19:09 +00:00
|
|
|
#
|
|
|
|
# Compression program used to build the binary packages.
|
2010-01-16 01:11:44 +00:00
|
|
|
# Possible value: gzip, bzip2 or xz. Default xz.
|
2009-10-20 13:19:09 +00:00
|
|
|
#
|
|
|
|
XBPS_COMPRESS_CMD=xz
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compression level used in XBPS_COMPRESS_CMD to build the
|
|
|
|
# binary packages. Possible values: 1-9. If unset, default value
|
|
|
|
# by the command will be used.
|
|
|
|
#
|
|
|
|
#XBPS_COMPRESS_LEVEL=9
|
2010-01-14 16:45:41 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Install required build time dependencies from binary packages,
|
2010-01-16 01:11:44 +00:00
|
|
|
# XBPS_PACKAGESDIR will be used in the chroot to resolve builddeps.
|
2010-01-14 16:45:41 +00:00
|
|
|
#
|
|
|
|
#XBPS_PREFER_BINPKG_DEPS=yes
|
2010-01-16 01:11:44 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Build packages with your unprivileged user in the chroot
|
|
|
|
# via capchroot. The only required steps with privileges are
|
|
|
|
# the bind mounts, a helper script (xbps-src-chroot-helper) needs
|
|
|
|
# to be run with sudo for this task.
|
|
|
|
#
|
|
|
|
# fakeroot is only used for the installation stage via the helper
|
|
|
|
# script xbps-src-doinst-helper.
|
|
|
|
#
|
|
|
|
# capchroot allows ordinary users to use the chroot(2) syscall.
|
|
|
|
# To make this work, uncomment this option and run the following
|
|
|
|
# commands (as root):
|
|
|
|
#
|
|
|
|
# $ setcap cap_sys_chroot=ep /usr/bin/capchroot
|
|
|
|
# $ echo "/path/to/masterdir $(whoami)" >> /etc/capchroot.allow
|
|
|
|
#
|
|
|
|
#XBPS_USE_CAPCHROOT=yes
|