--- trunk/mage/usr/lib/mage/mage.rc.global 2011/12/20 16:01:52 1542 +++ trunk/mage/usr/lib/mage/mage.rc.global 2011/12/27 10:58:02 1556 @@ -1,7 +1,8 @@ -# $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 $ -# # mage.rc.global - global configuration file for mage -# will be overridden by /etc/mage.rc +# $Id$ +# +# !! Do not edit this file, it will be overwritten on update. !! +# !! Use /etc/mage.rc instead to override any settings. !! # ## Default locations @@ -23,21 +24,18 @@ # Set default user mage.rc : ${MAGERC="/etc/mage.rc"} +# Distribution settings +# Internal default: MAGE_DISTRIBUTION=stable +# stable | testing | unstable +: ${MAGE_DISTRIBUTION="stable"} + # Default options -PKGSUFFIX="mpk" VERBOSE="on" MAGEDEBUG="off" -ARCH="i686" : ${MAGE_UNINSTALL_TIMEOUT="3"} -PACKAGES_SERVER_PATH="packages/${ARCH}" -# Default fetch options for rsync -RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" - -# Default fetch options for wget -WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" - -# Default build options +# Arch specific options and build flags +ARCH="i686" CHOST="${ARCH}-pc-linux-gnu" CFLAGS="-mtune=${ARCH} -O2 -pipe" CXXFLAGS="${CFLAGS}" @@ -45,13 +43,25 @@ SMAGE_USE_DISTCC="false" MAKEOPTS="-j2" +# Strip options +STRIP_DYN_LIB="--strip-unneeded" +STRIP_DYN_BIN="--strip-all" +STRIP_STATIC_LIB="--strip-debug" + +# Extension defaults +# Do not modify these settings unless you know what you are doing +PKGSUFFIX="mpk" +SRCPKGSUFFIX="mpks" +MAGESUFFIX="mage" +SMAGESUFFIX="smage2" + # Distcc specific settings #DISTCC_HOSTS="" DISTCC_DIR="${BUILDDIR}/.distcc" DISTCC_VERBOSE="0" DISTCC_LOG="/var/log/distcc.log" -# Default mirrors +# Default mirrors and download options MIRRORS="http://magellan-linux.de/magellan" GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu" SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge" @@ -59,11 +69,12 @@ KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable" RSYNC="rsync://magellan-linux.de/mage-ix86" SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs" +PACKAGES_SERVER_PATH="packages/${ARCH}" -# Distribution settings -# Internal default: MAGE_DISTRIBUTION=stable -# stable | testing | unstable -: ${MAGE_DISTRIBUTION="stable"} +# Default fetch options for rsync +RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" +# Default fetch options for wget +WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" # 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.