17 |
SOURCEDIR="/var/cache/mage/sources" |
SOURCEDIR="/var/cache/mage/sources" |
18 |
BINDIR="${BUILDDIR}/builded" |
BINDIR="${BUILDDIR}/builded" |
19 |
SMAGESCRIPTSDIR="/var/cache/mage/smage" |
SMAGESCRIPTSDIR="/var/cache/mage/smage" |
20 |
|
SMAGELOGDIR="/var/log/smage" |
21 |
|
|
22 |
# Set default install root to / |
# Set default install root to / |
23 |
: ${MROOT=""} |
: ${MROOT=""} |
39 |
|
|
40 |
# Arch specific options and build flags |
# Arch specific options and build flags |
41 |
ARCH="@@ARCH@@" |
ARCH="@@ARCH@@" |
42 |
CHOST="${ARCH}-pc-linux-gnu" |
CHOST="@@ARCH@@-pc-linux-gnu" |
43 |
CFLAGS="-mtune=${ARCH} -O2 -pipe" |
CFLAGS="-mtune=@@MTUNE@@ -O2 -pipe" |
44 |
CXXFLAGS="${CFLAGS}" |
CXXFLAGS="${CFLAGS}" |
45 |
LDFLAGS="-Wl,--as-needed" |
LDFLAGS="-Wl,--as-needed" |
46 |
MAKEOPTS="-j2" |
MAKEOPTS="-j2" |
56 |
STRIP_STATIC_LIB="--strip-debug" |
STRIP_STATIC_LIB="--strip-debug" |
57 |
|
|
58 |
# Extension defaults |
# Extension defaults |
59 |
# Do not modify these settings unless you know what you are doing |
# Do not modify these settings unless you know what you are doing |
60 |
PKGSUFFIX="mpk" |
PKGSUFFIX="mpk" |
61 |
SRCPKGSUFFIX="mpks" |
SRCPKGSUFFIX="mpks" |
62 |
MAGESUFFIX="mage" |
MAGESUFFIX="mage" |
87 |
RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" |
RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" |
88 |
# Default fetch options for wget |
# Default fetch options for wget |
89 |
WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" |
WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" |
90 |
|
# Default update method for the package database - 'rsync' or 'tarball' method can be selected |
91 |
|
MAGE_UPDATE_METHOD="tarball" |
92 |
|
|
93 |
# All supported global features in mage/smage: |
# All supported global features in mage/smage: |
94 |
# You can negate any feature with a ! in front |
# You can negate any feature with a ! in front |
119 |
# * Enable distcc support in smage |
# * Enable distcc support in smage |
120 |
# * distcc must be installed to use this feature |
# * distcc must be installed to use this feature |
121 |
# * For developers only |
# * For developers only |
122 |
|
# icecc|!icecc |
123 |
|
# * Enable icecc support in smage |
124 |
|
# * icecream must be installed to use this feature |
125 |
|
# * For developers only |
126 |
# kernelsrcunpack|!kernelsrcunpack |
# kernelsrcunpack|!kernelsrcunpack |
127 |
# * Automatically unpacks any kernel-source tarballs to /usr/src |
# * Automatically unpacks any kernel-source tarballs to /usr/src |
128 |
# libtool|!libtool |
# libtool|!libtool |
133 |
# * Requires the kernelsrcunpack feature to be activated |
# * Requires the kernelsrcunpack feature to be activated |
134 |
# pkgbuild|!pkgbuild |
# pkgbuild|!pkgbuild |
135 |
# * Enables or disables the package build process |
# * Enables or disables the package build process |
136 |
# * !buildpkg feature is only intended to be used for special-cases, |
# * !pkgbuild feature is only intended to be used for special-cases, |
137 |
# * like virtuals and not to be a global feature. Use this with care. |
# * like virtuals and not to be a global feature. Use this with care. |
138 |
# * Only disable this feature, if you know what you are doing! |
# * Only disable this feature, if you know what you are doing! |
139 |
# * For developers only |
# * For developers only |
180 |
# |
# |
181 |
# To individually change these features within a smage file, you can use the msetfeature() function |
# To individually change these features within a smage file, you can use the msetfeature() function |
182 |
# |
# |
183 |
MAGE_FEATURES_GLOBAL=( "autosvc" "buildlog" "ccache" "check" "compressdoc" "!debug" "!distcc" "kernelsrcunpack" "!libtool" "linuxsymlink" "pkgbuild" "!pkgdistrotag" "purge" "!qalint" "regentree" "!resume" "!srcpkgbuild" "!srcpkgtarball" "!static" "!stepbystep" "strip" "!verbose" ) |
MAGE_FEATURES_GLOBAL=( "autosvc" "buildlog" "ccache" "check" "compressdoc" "!debug" "!distcc" "!icecc" "kernelsrcunpack" "!libtool" "linuxsymlink" "pkgbuild" "!pkgdistrotag" "purge" "!qalint" "regentree" "!resume" "!srcpkgbuild" "!srcpkgtarball" "!static" "!stepbystep" "strip" "!verbose" ) |