Magellan Linux

Contents of /trunk/mage/usr/lib/mage/mage.rc.global

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1553 - (show annotations) (download)
Tue Dec 27 10:52:11 2011 UTC (12 years, 4 months ago) by niro
File size: 2786 byte(s)
-better descriptions for some options
1 # mage.rc.global - global configuration file for mage
2 # $Id$
3 #
4 # !! Do not edit this file, it will be overwritten on update. !!
5 # !! Use /etc/mage.rc instead to override any settings. !!
6 #
7
8 ## Default locations
9 PKGDIR="/var/cache/mage/packages"
10 SRCPKGDIR="/var/cache/mage/packages/sources"
11 BUILDDIR="/var/tmp/magebuild"
12 INSTALLDB="/var/db/mage"
13 MAGEDIR="/usr/mage"
14 MLIBDIR="/usr/lib/mage"
15 VIRTUALDB_DEFAULTS="/etc/mage-profile/virtuals.defaults"
16 VIRTUALDB_FILE="${INSTALLDB}/virtuals"
17 SOURCEDIR="/var/cache/mage/sources"
18 BINDIR="${BUILDDIR}/builded"
19 SMAGESCRIPTSDIR="/var/cache/mage/smage"
20
21 # Set default install root to /
22 : ${MROOT=""}
23
24 # Set default user mage.rc
25 : ${MAGERC="/etc/mage.rc"}
26
27 # Default options
28 PKGSUFFIX="mpk"
29 VERBOSE="on"
30 MAGEDEBUG="off"
31 ARCH="i686"
32 : ${MAGE_UNINSTALL_TIMEOUT="3"}
33 PACKAGES_SERVER_PATH="packages/${ARCH}"
34
35 # Default fetch options for rsync
36 RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"
37
38 # Default fetch options for wget
39 WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"
40
41 # Arch specific options and build flags
42 CHOST="${ARCH}-pc-linux-gnu"
43 CFLAGS="-mtune=${ARCH} -O2 -pipe"
44 CXXFLAGS="${CFLAGS}"
45 SMAGE_USE_CCACHE="false"
46 SMAGE_USE_DISTCC="false"
47 MAKEOPTS="-j2"
48
49 # Strip options
50 STRIP_DYN_LIB="--strip-unneeded"
51 STRIP_DYN_BIN="--strip-all"
52 STRIP_STATIC_LIB="--strip-debug"
53
54 # Distcc specific settings
55 #DISTCC_HOSTS=""
56 DISTCC_DIR="${BUILDDIR}/.distcc"
57 DISTCC_VERBOSE="0"
58 DISTCC_LOG="/var/log/distcc.log"
59
60 # Default mirrors and download options
61 MIRRORS="http://magellan-linux.de/magellan"
62 GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu"
63 SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge"
64 GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"
65 KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"
66 RSYNC="rsync://magellan-linux.de/mage-ix86"
67 SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
68
69 # Distribution settings
70 # Internal default: MAGE_DISTRIBUTION=stable
71 # stable | testing | unstable
72 : ${MAGE_DISTRIBUTION="stable"}
73
74 # enables on-the-fly regeneration of the mage tree via smage2 files.
75 # MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR.
76 #REGEN_MAGE_TREE=true
77 MAGE_TREE_DEST="${MAGEDIR}"
78
79 # creates on-the-fly source-tarballs when building packages with smage2
80 #CREATE_SRC_PKG_TARBALL=true
81
82 # enables step-by-step execution of the smage-file (for debugging only)
83 #STEP_BY_STEP=true
84
85 # disables logging of smage builds
86 # currently for src_pepare, src_compile, src_install functions only
87 #SMAGE_BUILD_LOGGING=false