# /etc/mage.rc - local mage configuration file # use this file to override any settings of mage.rc.global # $Id$ MAGE_DISTRIBUTION="stable" MAGE_UNINSTALL_TIMEOUT=0 # Default mirrors and download options MIRRORS="http://magellan-linux.de/magellan/R11-${MAGE_DISTRIBUTION}" RSYNC="rsync://magellan-linux.de/mage-R11-${MAGE_DISTRIBUTION}" SMAGE2RSYNC="rsync://magellan-linux.de/smage-R11-${MAGE_DISTRIBUTION}" # Arch specific options and build flags ARCH="i686" CHOST="${ARCH}-pc-linux-gnu" CFLAGS="-mtune=${ARCH} -O2 -pipe" CXXFLAGS="${CFLAGS}" LDFLAGS="-Wl,--as-needed" MAKEOPTS="-j2" PACKAGES_SERVER_PATH="packages/${ARCH}" # All supported global features in mage/smage: # You can negate any feature with a ! in front # Please use the MAGE_FEATURES array to override these settings in local mage.rc # # autosvc|!autosvc # * Automatically start/stop/restarts services on installation # buildlog|!buildlog # * Enables logging of smage builds # * Currently for src_pepare, src_compile, src_install functions only # * For developers only # ccache|!ccache # * Enable ccache support in smage # * ccache must be installed to use this feature # * For developers only # check|!check # * Runs the check function src_check() after completing src_compile() # * For developers only # compressdoc|!compressdoc # * Enables compression of man, info and other doc files for minimizing diskspace usage # * For developers only # debug|!debug # * Enables or disables debug mode # * Do not touch this feature if you don't know what you are doing # * The debug mode may break things like resolving dependencies # * For developers only # distcc|!distcc # * Enable distcc support in smage # * distcc must be installed to use this feature # * For developers only # kernelsrcunpack|!kernelsrcunpack # * Automatically unpacks any kernel-sources tarballs to /usr/src # libtool|!libtool # * Includes .la libtool archives in builded packages, to remove them set !libtool # * For developers only # linuxsymlink|!linuxsymlink # * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version # * Requires the kernelsrcunpack feature to be activated # pkgbuild|!pkgbuild # * Enables or disables the package build process # * !buildpkg feature is only intended to be used for special-cases, # * like virtuals and not to be a global feature. Use this with care. # * Only disable this feature, if you know what you are doing! # * For developers only # purge|!purge # * Purges files specified by PURGE_TARGETS array from every package build # * Do not touch this feature if you don't know what you are doing # * For developers only # qalint|!qalint # * Quality assurance checks will be run while building a package # * Magellan lint utilities must be installed to use this feature # * Only enable this feature for QA purposes only, # * pkgbuild may fail even on non-fatal errors and warnings # * For developers only # regentree|!regentree # * Automatically import packages in the mage-tree after building with smage # * The target mage-tree can be defined with the MAGE_TREE_DEST variable # * For developers only # stepbystep|!stepbystep # * Enables step-by-step execution of the smage-file for debugging # * Currently for src_pepare(), src_compile(), src_check(), src_install() functions # * For developers only # srcpkgbuild|!srcpkgbuild # * Enable this to create source-tarballs on-the-fly when building packages # * For developers only # strip|!strip # * Enables stripping to remove debugging symbols of resulting binaries # * For developers only # verbose|!verbose # * Enables or disables verbose mode # # To individually change these features within a smage file, you can use the msetfeature() function # #MAGE_FEATURES=( "autosvc" "ccache" "distcc" "verbose" )