1 |
PKGDIR="/var/cache/mage/packages" |
# /etc/mage.rc - local mage configuration file |
2 |
BUILDDIR="/var/tmp/magebuild" |
# use this file to override any settings of mage.rc.global |
3 |
INSTALLDB="/var/db/mage" |
# $Id$ |
|
MAGEDIR="/usr/mage" |
|
|
VERBOSE="on" |
|
|
MAGEDEBUG="off" |
|
|
ARCH=i686 |
|
4 |
|
|
5 |
|
# Default mirrors and download options |
6 |
MIRRORS="http://magellan-linux.de/magellan" |
MIRRORS="http://magellan-linux.de/magellan" |
7 |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
8 |
|
|
|
|
|
|
# for developers or source-install only: |
|
|
#BINDIR="${BUILDDIR}/builded" |
|
|
#CHOST="${ARCH}-pc-linux-gnu" |
|
|
#CFLAGS="-mtune=${ARCH} -O2 -pipe" |
|
|
#CXXFLAGS="${CFLAGS}" |
|
|
|
|
|
# smage2 directories |
|
|
#SOURCEDIR="/var/cache/mage/sources" |
|
|
#SRCPKGDIR="/var/cache/mage/packages/sources" |
|
|
#SMAGESCRIPTSDIR="/var/cache/mage/smage" |
|
|
#SMAGE2RSYNC="rsync://magellan-linux.de/smage-ix86" |
|
|
|
|
|
# enable ccache support; make sure you have dev-util/ccache installed. |
|
|
#SMAGE_USE_CCACHE=true |
|
|
|
|
|
# enable distcc support; make sure you have dev-util/distcc installed. |
|
|
#SMAGE_USE_DISTCC=true |
|
|
|
|
|
# you can either put your hosts here or use distcc-config, |
|
|
# or export them into environment. |
|
|
#DISTCC_HOSTS="192.168.0.214 192.168.0.190" |
|
|
|
|
|
# distcc temp and state directory. |
|
|
# when you run any distccmon-xxx you must point them to it, |
|
|
# to be able to see any proggress. |
|
|
# e.g.: DISTCC_DIR=/var/tmp/magebuild/.distcc distccmon-text |
|
|
#DISTCC_DIR="${BUILDDIR}/.distcc" |
|
|
|
|
|
# set verbose/debug mode on; you should pipe this into a logfile, |
|
|
# rather to let syslogd manage this stuff |
|
|
#DISTCC_VERBOSE=0 # 0=off; 1=on |
|
|
|
|
|
# place where your distcc logfile belongs. |
|
|
# this file may get very big; be warned. |
|
|
#DISTCC_LOG=/var/log/distcc.log |
|
|
|
|
|
# how many jobs will be compiled at the same time. |
|
|
# please set this value twice to your numbers of cpus. |
|
|
#MAKEOPTS=-j2 |
|
|
|
|
|
# enables on-the-fly regeneration of the mage tree via smage2 files. |
|
|
# MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR. |
|
|
#REGEN_MAGE_TREE=true |
|
|
#MAGE_TREE_DEST="${MAGEDIR}" |
|
|
|
|
|
# creates on-the-fly source-tarballs when building packages with smage2 |
|
|
#CREATE_SRC_PKG_TARBALL=true |
|
9 |
|
# All supported global features in mage/smage: |
10 |
|
# You can negate any feature with a ! in front |
11 |
|
# |
12 |
|
# autosvc|!autosvc |
13 |
|
# * Automatically start/stop/restarts services on installation |
14 |
|
# buildlog|!buildlog |
15 |
|
# * Enables logging of smage builds |
16 |
|
# * Currently for src_pepare, src_compile, src_install functions only |
17 |
|
# * For developers only |
18 |
|
# ccache|!ccache |
19 |
|
# * Enable ccache support in smage |
20 |
|
# * ccache must be installed to use this feature |
21 |
|
# * For developers only |
22 |
|
# check|!check |
23 |
|
# * Runs the check function src_check() after completing src_compile() |
24 |
|
# * For developers only |
25 |
|
# compressdoc|!compressdoc |
26 |
|
# * Enables compression of man, info and other doc files for minimizing diskspace usage |
27 |
|
# * For developers only |
28 |
|
# debug|!debug |
29 |
|
# * Enables or disables debug mode |
30 |
|
# * Do not touch this feature if you don't know what you are doing |
31 |
|
# * The debug mode may break things like resolving dependencies |
32 |
|
# * For developers only |
33 |
|
# distcc|!distcc |
34 |
|
# * Enable distcc support in smage |
35 |
|
# * distcc must be installed to use this feature |
36 |
|
# * For developers only |
37 |
|
# icecc|!icecc |
38 |
|
# * Enable icecc support in smage |
39 |
|
# * icecream must be installed to use this feature |
40 |
|
# * For developers only |
41 |
|
# kernelsrcunpack|!kernelsrcunpack |
42 |
|
# * Automatically unpacks any kernel-source tarballs to /usr/src |
43 |
|
# libtool|!libtool |
44 |
|
# * Includes .la libtool archives in builded packages, to remove them set !libtool |
45 |
|
# * For developers only |
46 |
|
# linuxsymlink|!linuxsymlink |
47 |
|
# * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version |
48 |
|
# * Requires the kernelsrcunpack feature to be activated |
49 |
|
# purge|!purge |
50 |
|
# * Purges files specified by PURGE_TARGETS array from every package build |
51 |
|
# * Do not touch this feature if you don't know what you are doing |
52 |
|
# * For developers only |
53 |
|
# qalint|!qalint |
54 |
|
# * Quality assurance checks will be run while building a package |
55 |
|
# * Magellan lint utilities must be installed to use this feature |
56 |
|
# * Only enable this feature for QA purposes only, |
57 |
|
# * pkgbuild may fail even on non-fatal errors and warnings |
58 |
|
# * For developers only |
59 |
|
# regentree|!regentree |
60 |
|
# * Automatically import packages in the mage-tree after building with smage |
61 |
|
# * The target mage-tree can be defined with the MAGE_TREE_DEST variable |
62 |
|
# * For developers only |
63 |
|
# srcpkgbuild|!srcpkgbuild |
64 |
|
# * Enable this to create source-tarballs on-the-fly when building packages |
65 |
|
# * For developers only |
66 |
|
# static|!static |
67 |
|
# * Let mconfigure() enable or disable compilation of static libraries |
68 |
|
# * For developers only |
69 |
|
# stepbystep|!stepbystep |
70 |
|
# * Enables step-by-step execution of the smage-file for debugging |
71 |
|
# * Currently for src_pepare(), src_compile(), src_check(), src_install() functions |
72 |
|
# * For developers only |
73 |
|
# strip|!strip |
74 |
|
# * Enables stripping to remove debugging symbols of resulting binaries |
75 |
|
# * For developers only |
76 |
|
# verbose|!verbose |
77 |
|
# * Enables or disables verbose mode |
78 |
|
# |
79 |
|
# To individually change these features within a smage file, you can use the msetfeature() function |
80 |
|
# |
81 |
|
#MAGE_FEATURES=( "autosvc" "ccache" "distcc" "verbose" ) |