Magellan Linux

Diff of /trunk/mage/usr/lib/mage/mage.rc.global.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1583 by niro, Wed Dec 28 12:06:30 2011 UTC revision 1584 by niro, Wed Dec 28 12:23:50 2011 UTC
# Line 30  SMAGESCRIPTSDIR="/var/cache/mage/smage" Line 30  SMAGESCRIPTSDIR="/var/cache/mage/smage"
30  : ${MAGE_DISTRIBUTION="stable"}  : ${MAGE_DISTRIBUTION="stable"}
31    
32  # Default options  # Default options
 VERBOSE="on"  
 MAGEDEBUG="off"  
33  : ${MAGE_UNINSTALL_TIMEOUT="3"}  : ${MAGE_UNINSTALL_TIMEOUT="3"}
34    
35  # enables on-the-fly regeneration of the mage tree via smage2 files.  # Use MAGE_FEATURE 'regentree' to enable on-the-fly regeneration of the mage tree.
36  # MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR.  # MAGE_TREE_DEST must be also set. You should set it to the same value as MAGEDIR.
 #REGEN_MAGE_TREE=true  
37  MAGE_TREE_DEST="${MAGEDIR}"  MAGE_TREE_DEST="${MAGEDIR}"
38    
39  # Arch specific options and build flags  # Arch specific options and build flags
# Line 45  CHOST="${ARCH}-pc-linux-gnu" Line 42  CHOST="${ARCH}-pc-linux-gnu"
42  CFLAGS="-mtune=${ARCH} -O2 -pipe"  CFLAGS="-mtune=${ARCH} -O2 -pipe"
43  CXXFLAGS="${CFLAGS}"  CXXFLAGS="${CFLAGS}"
44  LDFLAGS="-Wl,--as-needed"  LDFLAGS="-Wl,--as-needed"
 SMAGE_USE_CCACHE="false"  
 SMAGE_USE_DISTCC="false"  
45  MAKEOPTS="-j2"  MAKEOPTS="-j2"
46    
47  # Strip options  # Strip options
# Line 87  RSYNC_FETCH_OPTIONS="--recursive --links Line 82  RSYNC_FETCH_OPTIONS="--recursive --links
82  # Default fetch options for wget  # Default fetch options for wget
83  WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"  WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"
84    
85  # creates on-the-fly source-tarballs when building packages with smage2  # All supported global features in mage/smage:
86  #CREATE_SRC_PKG_TARBALL=true  # You can negate any feature with a ! in front
87    # Please use the MAGE_FEATURES array to override these settings in local mage.rc
88  # enables step-by-step execution of the smage-file (for debugging only)  #
89  #STEP_BY_STEP=true  #      autosvc|!autosvc
90    #          * Automatically start/stop/restarts services on installation
91  # disables logging of smage builds  #      buildlog|!buildlog
92  # currently for src_pepare, src_compile, src_install functions only  #          * Enables logging of smage builds
93  #SMAGE_BUILD_LOGGING=false  #          * Currently for src_pepare, src_compile, src_install functions only
94    #          * For developers only
95    #      ccache|!ccache
96    #          * Enable ccache support in smage
97    #          * ccache must be installed to use this feature
98    #          * For developers only
99    #      check|!check
100    #          * Runs the check function src_check() after completing src_compile()
101    #          * For developers only
102    #      compressdoc|!compressdoc
103    #          * Enables compression of man, info and other doc files for minimizing diskspace usage
104    #          * For developers only
105    #      debug|!debug
106    #          * Enables or disables debug mode
107    #          * Do not touch this feature if you don't know what you are doing
108    #          * The debug mode may break things like resolving dependencies
109    #          * For developers only
110    #      distcc|!distcc
111    #          * Enable distcc support in smage
112    #          * distcc must be installed to use this feature
113    #          * For developers only
114    #      kernelsrcunpack|!kernelsrcunpack
115    #          * Automatically unpacks any kernel-sources tarballs to /usr/src
116    #      libtool|!libtool
117    #          * Includes .la libtool archives in builded packages, to remove them set !libtool
118    #          * For developers only
119    #      linuxsymlink|!linuxsymlink
120    #          * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version
121    #          * Requires the kernelsrcunpack feature to be activated
122    #      pkgbuild|!pkgbuild
123    #          * Enables or disables the package build process
124    #          * !buildpkg feature is only intended to be used for special-cases,
125    #          * like virtuals and not to be a global feature. Use this with care.
126    #          * Only disable this feature, if you know what you are doing!
127    #          * For developers only
128    #      purge|!purge
129    #          * Purges files specified by PURGE_TARGETS array from every package build
130    #          * Do not touch this feature if you don't know what you are doing
131    #          * For developers only
132    #      qalint|!qalint
133    #          * Quality assurance checks will be run while building a package
134    #          * Magellan lint utilities must be installed to use this feature
135    #          * Only enable this feature for QA purposes only,
136    #          * pkgbuild may fail even on non-fatal errors and warnings
137    #          * For developers only
138    #      regentree|!regentree
139    #          * Automatically import packages in the mage-tree after building with smage
140    #          * The target mage-tree can be defined with the MAGE_TREE_DEST variable
141    #          * For developers only
142    #      stepbystep|!stepbystep
143    #          * Enables step-by-step execution of the smage-file for debugging
144    #          * Currently for src_pepare(), src_compile(), src_check(), src_install() functions
145    #          * For developers only
146    #      srcpkgbuild|!srcpkgbuild
147    #          * Enable this to create source-tarballs on-the-fly when building packages
148    #          * For developers only
149    #      srcpkgtarball|!srcpkgtarball
150    #          * let smage build the package from a src tarball .mpks
151    #          * Do not touch this feature, for internal use only!!
152    #      strip|!strip
153    #          * Enables stripping to remove debugging symbols of resulting binaries
154    #          * For developers only
155    #      verbose|!verbose
156    #          * Enables or disables verbose mode
157    #
158    # To individually change these features within a smage file, you can use the msetfeature() function
159    #
160    MAGE_FEATURES_GLOBAL=( "autosvc" "buildlog" "ccache" "check" "compressdoc" "!debug" "!distcc" "kernelsrcunpack" "!libtool" "linuxsymlink" "pkgbuild" "purge" "!qalint" "regentree" "!srcpkgbuild" "!srcpkgtarball" "!stepbystep" "strip" "!verbose" )

Legend:
Removed from v.1583  
changed lines
  Added in v.1584