|
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage.rc.global,v 1.5 2006-12-29 23:44:27 niro Exp $ |
|
|
# |
|
1 |
# mage.rc.global - global configuration file for mage |
# mage.rc.global - global configuration file for mage |
2 |
# will be overidden by /etc/mage.rc |
# $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 |
## Default locations |
9 |
PKGDIR="/var/cache/mage/packages" |
PKGDIR="/var/cache/mage/packages" |
10 |
SRCPKGDIR="/var/cache/mage/packages/sources" |
SRCPKGDIR="/var/cache/mage/packages/sources" |
11 |
BUILDDIR="/var/tmp/magebuild" |
BUILDDIR="/var/tmp/magebuild" |
18 |
BINDIR="${BUILDDIR}/builded" |
BINDIR="${BUILDDIR}/builded" |
19 |
SMAGESCRIPTSDIR="/var/cache/mage/smage" |
SMAGESCRIPTSDIR="/var/cache/mage/smage" |
20 |
|
|
21 |
# set default install root to / |
# Set default install root to / |
22 |
: ${MROOT=""} |
: ${MROOT=""} |
23 |
|
|
24 |
# default options |
# Set default user mage.rc |
25 |
PKGSUFFIX="mpk" |
: ${MAGERC="/etc/mage.rc"} |
26 |
|
|
27 |
|
# Distribution settings |
28 |
|
# Internal default: MAGE_DISTRIBUTION=stable |
29 |
|
# stable | testing | unstable |
30 |
|
: ${MAGE_DISTRIBUTION="stable"} |
31 |
|
|
32 |
|
# Default options |
33 |
VERBOSE="on" |
VERBOSE="on" |
34 |
MAGEDEBUG="off" |
MAGEDEBUG="off" |
35 |
ARCH="i686" |
: ${MAGE_UNINSTALL_TIMEOUT="3"} |
|
: ${MAGE_UNINSTALL_TIMEOUT="5"} |
|
|
PACKAGES_SERVER_PATH="packages/${ARCH}" |
|
|
RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" |
|
36 |
|
|
37 |
# default build options |
# enables on-the-fly regeneration of the mage tree via smage2 files. |
38 |
|
# MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR. |
39 |
|
#REGEN_MAGE_TREE=true |
40 |
|
MAGE_TREE_DEST="${MAGEDIR}" |
41 |
|
|
42 |
|
# Arch specific options and build flags |
43 |
|
ARCH="i686" |
44 |
CHOST="${ARCH}-pc-linux-gnu" |
CHOST="${ARCH}-pc-linux-gnu" |
45 |
CFLAGS="-mtune=${ARCH} -O2 -pipe" |
CFLAGS="-mtune=${ARCH} -O2 -pipe" |
46 |
CXXFLAGS="${CFLAGS}" |
CXXFLAGS="${CFLAGS}" |
47 |
|
LDFLAGS="-Wl,--as-needed" |
48 |
SMAGE_USE_CCACHE="false" |
SMAGE_USE_CCACHE="false" |
49 |
SMAGE_USE_DISTCC="false" |
SMAGE_USE_DISTCC="false" |
50 |
MAKEOPTS="-j2" |
MAKEOPTS="-j2" |
51 |
|
|
52 |
# distcc specific |
# Strip options |
53 |
|
STRIP_DYN_LIB="--strip-unneeded" |
54 |
|
STRIP_DYN_BIN="--strip-all" |
55 |
|
STRIP_STATIC_LIB="--strip-debug" |
56 |
|
|
57 |
|
# Extension defaults |
58 |
|
# Do not modify these settings unless you know what you are doing |
59 |
|
PKGSUFFIX="mpk" |
60 |
|
SRCPKGSUFFIX="mpks" |
61 |
|
MAGESUFFIX="mage" |
62 |
|
SMAGESUFFIX="smage2" |
63 |
|
|
64 |
|
# Distcc specific settings |
65 |
#DISTCC_HOSTS="" |
#DISTCC_HOSTS="" |
66 |
DISTCC_DIR="${BUILDDIR}/.distcc" |
DISTCC_DIR="${BUILDDIR}/.distcc" |
67 |
DISTCC_VERBOSE="0" |
DISTCC_VERBOSE="0" |
68 |
DISTCC_LOG="/var/log/distcc.log" |
DISTCC_LOG="/var/log/distcc.log" |
69 |
|
|
70 |
# default mirrors |
# Default mirrors and download options |
71 |
MIRRORS="http://magellan-linux.de/magellan" |
MIRRORS="http://magellan-linux.de/magellan" |
72 |
|
GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu" |
73 |
|
SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge" |
74 |
|
GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/" |
75 |
|
KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable" |
76 |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
77 |
SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs" |
SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs" |
78 |
|
PACKAGES_SERVER_PATH="packages/${ARCH}" |
79 |
|
|
80 |
# old distribution settings |
# Default fetch options for rsync |
81 |
# only for compat; will disapear soon |
RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" |
82 |
#USE_TESTING=true |
# Default fetch options for wget |
83 |
#USE_UNSTABLE=true |
WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" |
|
|
|
|
# new distribution settings |
|
|
# internal default: MAGE_DISTRIBUTION=stable |
|
|
# stable | testing | unstable |
|
|
: ${MAGE_DISTRIBUTION="stable"} |
|
|
|
|
|
# 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}" |
|
84 |
|
|
85 |
# creates on-the-fly source-tarballs when building packages with smage2 |
# creates on-the-fly source-tarballs when building packages with smage2 |
86 |
#CREATE_SRC_PKG_TARBALL=true |
#CREATE_SRC_PKG_TARBALL=true |
87 |
|
|
88 |
|
# enables step-by-step execution of the smage-file (for debugging only) |
89 |
|
#STEP_BY_STEP=true |
90 |
|
|
91 |
|
# disables logging of smage builds |
92 |
|
# currently for src_pepare, src_compile, src_install functions only |
93 |
|
#SMAGE_BUILD_LOGGING=false |