Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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