2009-10-18 09:17:26 +00:00
|
|
|
#
|
|
|
|
# Configuration file for xbps-src.
|
|
|
|
|
2010-01-16 01:11:44 +00:00
|
|
|
# Directory where the xbps-src GIT repository is stored. This is
|
2011-06-25 23:45:12 +00:00
|
|
|
# required to be mounted in the chroot. You shouldn't need to modify this
|
2011-07-16 22:50:39 +00:00
|
|
|
# one unless your xbps-packages repo has been moved to another path.
|
2009-10-18 09:17:26 +00:00
|
|
|
#
|
2010-12-21 11:33:46 +00:00
|
|
|
XBPS_DISTRIBUTIONDIR=@@XBPS_DISTRIBDIR@@
|
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
|
|
|
|
|
2011-06-25 23:45:12 +00:00
|
|
|
#
|
2011-07-08 00:07:38 +00:00
|
|
|
# Host directory to be bind mounted into the chroot (masterdir) containing
|
|
|
|
# directories for downloaded cached packages from xbps-bin(8), packages
|
|
|
|
# created by xbps-src, source distribution tarballs downloaded required
|
|
|
|
# to build packages from source, etc.
|
2011-06-25 23:45:12 +00:00
|
|
|
#
|
2011-07-09 01:47:47 +00:00
|
|
|
# Basically your directory will contain this structure:
|
2011-07-08 00:07:38 +00:00
|
|
|
#
|
|
|
|
# /yourdir
|
|
|
|
# |_ /binpkgs
|
|
|
|
# |_ /repocache
|
|
|
|
# |_ /sources
|
|
|
|
#
|
2011-07-09 01:47:47 +00:00
|
|
|
# When created, those names are constants, so you cannot change them, even
|
|
|
|
# they are case sensitive.
|
2011-07-08 00:07:38 +00:00
|
|
|
#
|
2011-07-09 08:33:09 +00:00
|
|
|
# NOTE: You must create your toplevel /yourdir yourself
|
|
|
|
#
|
2011-07-08 00:07:38 +00:00
|
|
|
#XBPS_HOSTDIR=/path/to/your/host/directory
|
2011-06-25 23:45:12 +00:00
|
|
|
|
2009-10-18 09:17:26 +00:00
|
|
|
#
|
2011-07-02 07:15:29 +00:00
|
|
|
# Compilation flags for C and C++.
|
2009-10-18 09:17:26 +00:00
|
|
|
#
|
|
|
|
XBPS_CFLAGS="-O2 -pipe"
|
|
|
|
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
|
|
|
|
2011-07-02 07:15:29 +00:00
|
|
|
#
|
|
|
|
# Enable or disable ccache to build packages from source.
|
|
|
|
#
|
|
|
|
#XBPS_CCACHE=yes
|
|
|
|
|
2010-10-29 08:23:25 +00:00
|
|
|
#
|
|
|
|
# Linker flags passed to the compiler. By default we use --as-needed to
|
|
|
|
# avoid linking extra libraries into binaries. See the following link
|
|
|
|
# for info:
|
|
|
|
#
|
|
|
|
# http://www.gentoo.org/proj/en/qa/asneeded.xml
|
|
|
|
#
|
|
|
|
XBPS_LDFLAGS="-Wl,--as-needed"
|
|
|
|
|
2009-10-18 09:17:26 +00:00
|
|
|
#
|
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.
|
|
|
|
#
|
2010-12-21 11:38:57 +00:00
|
|
|
XBPS_COMPRESS_LEVEL=9
|
2010-01-14 16:45:41 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Install required build time dependencies from binary packages,
|
2011-07-18 09:35:48 +00:00
|
|
|
# repositories registered in <masterdir>/usr/local/etc/xbps-conf.plist
|
|
|
|
# will be used.
|
2010-01-14 16:45:41 +00:00
|
|
|
#
|
|
|
|
#XBPS_PREFER_BINPKG_DEPS=yes
|
2010-01-16 01:11:44 +00:00
|
|
|
|
|
|
|
#
|
2010-04-26 12:15:49 +00:00
|
|
|
# Build packages with your unprivileged user in the chroot thanks
|
|
|
|
# to POSIX.1e Capabilities as explained in capabilities(7) on GNU/Linux.
|
2010-01-16 01:11:44 +00:00
|
|
|
#
|
|
|
|
# fakeroot is only used for the installation stage via the helper
|
2011-07-14 11:28:04 +00:00
|
|
|
# script doinst-helper.
|
2010-01-16 01:11:44 +00:00
|
|
|
#
|
2010-12-21 11:38:57 +00:00
|
|
|
XBPS_USE_CAPABILITIES=yes
|