Annotation of /trunk/mage/usr/lib/mage/mage.rc.global
Parent Directory | Revision Log
Revision 875 -
(hide annotations)
(download)
Thu May 21 19:06:26 2009 UTC (15 years, 4 months ago) by niro
File size: 2621 byte(s)
Thu May 21 19:06:26 2009 UTC (15 years, 4 months ago) by niro
File size: 2621 byte(s)
-support for build logging in smage
1 | niro | 761 | # $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 | niro | 226 | # |
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 | niro | 407 | SRCPKGDIR="/var/cache/mage/packages/sources" |
10 | niro | 226 | 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 | niro | 418 | # set default user mage.rc |
24 | : ${MAGERC="/etc/mage.rc"} | ||
25 | |||
26 | niro | 226 | # default options |
27 | PKGSUFFIX="mpk" | ||
28 | VERBOSE="on" | ||
29 | MAGEDEBUG="off" | ||
30 | ARCH="i686" | ||
31 | : ${MAGE_UNINSTALL_TIMEOUT="5"} | ||
32 | niro | 288 | PACKAGES_SERVER_PATH="packages/${ARCH}" |
33 | niro | 386 | RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" |
34 | niro | 226 | |
35 | # default build options | ||
36 | CHOST="${ARCH}-pc-linux-gnu" | ||
37 | CFLAGS="-mtune=${ARCH} -O2 -pipe" | ||
38 | CXXFLAGS="${CFLAGS}" | ||
39 | SMAGE_USE_CCACHE="false" | ||
40 | SMAGE_USE_DISTCC="false" | ||
41 | MAKEOPTS="-j2" | ||
42 | |||
43 | # distcc specific | ||
44 | #DISTCC_HOSTS="" | ||
45 | DISTCC_DIR="${BUILDDIR}/.distcc" | ||
46 | DISTCC_VERBOSE="0" | ||
47 | DISTCC_LOG="/var/log/distcc.log" | ||
48 | |||
49 | # default mirrors | ||
50 | MIRRORS="http://magellan-linux.de/magellan" | ||
51 | niro | 438 | GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu" |
52 | SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge" | ||
53 | niro | 459 | GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/" |
54 | niro | 761 | KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable" |
55 | niro | 226 | RSYNC="rsync://magellan-linux.de/mage-ix86" |
56 | SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs" | ||
57 | niro | 288 | |
58 | # old distribution settings | ||
59 | # only for compat; will disapear soon | ||
60 | #USE_TESTING=true | ||
61 | #USE_UNSTABLE=true | ||
62 | |||
63 | # new distribution settings | ||
64 | # internal default: MAGE_DISTRIBUTION=stable | ||
65 | # stable | testing | unstable | ||
66 | niro | 298 | : ${MAGE_DISTRIBUTION="stable"} |
67 | niro | 407 | |
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 | niro | 859 | |
76 | # enables step-by-step execution of the smage-file (for debugging only) | ||
77 | niro | 875 | #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 |