Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1543 - (show annotations) (download)
Tue Dec 20 16:06:13 2011 UTC (12 years, 4 months ago) by niro
File size: 2773 byte(s)
-configurable strip options for every facility and added support to strip static libraries too
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 overridden 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 # Strip options
49 STRIP_DYN_LIB="--strip-unneeded"
50 STRIP_DYN_BIN="--strip-all"
51 STRIP_STATIC_LIB="--strip-debug"
52
53 # Distcc specific settings
54 #DISTCC_HOSTS=""
55 DISTCC_DIR="${BUILDDIR}/.distcc"
56 DISTCC_VERBOSE="0"
57 DISTCC_LOG="/var/log/distcc.log"
58
59 # Default mirrors
60 MIRRORS="http://magellan-linux.de/magellan"
61 GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu"
62 SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge"
63 GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"
64 KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"
65 RSYNC="rsync://magellan-linux.de/mage-ix86"
66 SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
67
68 # Distribution settings
69 # Internal default: MAGE_DISTRIBUTION=stable
70 # stable | testing | unstable
71 : ${MAGE_DISTRIBUTION="stable"}
72
73 # enables on-the-fly regeneration of the mage tree via smage2 files.
74 # MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR.
75 #REGEN_MAGE_TREE=true
76 MAGE_TREE_DEST="${MAGEDIR}"
77
78 # creates on-the-fly source-tarballs when building packages with smage2
79 #CREATE_SRC_PKG_TARBALL=true
80
81 # enables step-by-step execution of the smage-file (for debugging only)
82 #STEP_BY_STEP=true
83
84 # disables logging of smage builds
85 # currently for src_pepare, src_compile, src_install functions only
86 #SMAGE_BUILD_LOGGING=false