37 |
MAGE_TREE_DEST="${MAGEDIR}" |
MAGE_TREE_DEST="${MAGEDIR}" |
38 |
|
|
39 |
# Arch specific options and build flags |
# Arch specific options and build flags |
40 |
ARCH="i686" |
ARCH="@@ARCH@@" |
41 |
CHOST="${ARCH}-pc-linux-gnu" |
CHOST="@@ARCH@@-pc-linux-gnu" |
42 |
CFLAGS="-mtune=${ARCH} -O2 -pipe" |
CFLAGS="-mtune=@@MTUNE@@ -O2 -pipe" |
43 |
CXXFLAGS="${CFLAGS}" |
CXXFLAGS="${CFLAGS}" |
44 |
LDFLAGS="-Wl,--as-needed" |
LDFLAGS="-Wl,--as-needed" |
45 |
MAKEOPTS="-j2" |
MAKEOPTS="-j2" |
46 |
|
|
47 |
|
# cross-compile host |
48 |
|
# set this only if you want to crosscompile |
49 |
|
# you need also a cross-compile toolchain installed |
50 |
|
#CTARGET="i486-pc-linux-gnu" |
51 |
|
|
52 |
# Strip options |
# Strip options |
53 |
STRIP_DYN_LIB="--strip-unneeded" |
STRIP_DYN_LIB="--strip-unneeded" |
54 |
STRIP_DYN_BIN="--strip-all" |
STRIP_DYN_BIN="--strip-all" |
64 |
# Purge targets |
# Purge targets |
65 |
# Array with all files which shall be removed from every package on build-time |
# Array with all files which shall be removed from every package on build-time |
66 |
# Do not touch these settings if you don't know what you are doing |
# Do not touch these settings if you don't know what you are doing |
67 |
PURGE_TARGETS=( usr/share/info/dir ) |
PURGE_TARGETS=( usr/share/info/dir usr/share/info/dir.gz ) |
68 |
|
|
69 |
# Distcc specific settings |
# Distcc specific settings |
70 |
#DISTCC_HOSTS="" |
#DISTCC_HOSTS="" |
75 |
# Default mirrors and download options |
# Default mirrors and download options |
76 |
MIRRORS="http://magellan-linux.de/magellan" |
MIRRORS="http://magellan-linux.de/magellan" |
77 |
GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu" |
GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu" |
78 |
SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge" |
SOURCEFORGE_MIRRORS="http://downloads.sf.net http://garr.dl.sourceforge.net/sourceforge http://dfn.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge http://belnet.dl.sourceforge.net/sourceforge " |
79 |
GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/" |
GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/" |
80 |
KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable" |
KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable" |
81 |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
117 |
# * distcc must be installed to use this feature |
# * distcc must be installed to use this feature |
118 |
# * For developers only |
# * For developers only |
119 |
# kernelsrcunpack|!kernelsrcunpack |
# kernelsrcunpack|!kernelsrcunpack |
120 |
# * Automatically unpacks any kernel-sources tarballs to /usr/src |
# * Automatically unpacks any kernel-source tarballs to /usr/src |
121 |
# libtool|!libtool |
# libtool|!libtool |
122 |
# * Includes .la libtool archives in builded packages, to remove them set !libtool |
# * Includes .la libtool archives in builded packages, to remove them set !libtool |
123 |
# * For developers only |
# * For developers only |
126 |
# * Requires the kernelsrcunpack feature to be activated |
# * Requires the kernelsrcunpack feature to be activated |
127 |
# pkgbuild|!pkgbuild |
# pkgbuild|!pkgbuild |
128 |
# * Enables or disables the package build process |
# * Enables or disables the package build process |
129 |
# * !buildpkg feature is only intended to be used for special-cases, |
# * !pkgbuild feature is only intended to be used for special-cases, |
130 |
# * 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. |
131 |
# * Only disable this feature, if you know what you are doing! |
# * Only disable this feature, if you know what you are doing! |
132 |
# * For developers only |
# * For developers only |
133 |
|
# pkgdistrotag|!pkgdistrotag |
134 |
|
# * Appends the distribution codename-tag to the builded packages |
135 |
|
# * Do not touch this feature, for internal use only!! |
136 |
|
# * For developers only |
137 |
# purge|!purge |
# purge|!purge |
138 |
# * Purges files specified by PURGE_TARGETS array from every package build |
# * Purges files specified by PURGE_TARGETS array from every package build |
139 |
# * Do not touch this feature if you don't know what you are doing |
# * Do not touch this feature if you don't know what you are doing |
148 |
# * Automatically import packages in the mage-tree after building with smage |
# * Automatically import packages in the mage-tree after building with smage |
149 |
# * The target mage-tree can be defined with the MAGE_TREE_DEST variable |
# * The target mage-tree can be defined with the MAGE_TREE_DEST variable |
150 |
# * For developers only |
# * For developers only |
151 |
# stepbystep|!stepbystep |
# resume|!resume |
152 |
# * Enables step-by-step execution of the smage-file for debugging |
# * resumes a build from the last successful step |
153 |
# * Currently for src_pepare(), src_compile(), src_check(), src_install() functions |
# * Do not touch this feature, for internal use only!! |
154 |
# * For developers only |
# * For developers only |
155 |
# srcpkgbuild|!srcpkgbuild |
# srcpkgbuild|!srcpkgbuild |
156 |
# * Enable this to create source-tarballs on-the-fly when building packages |
# * Enable this to create source-tarballs on-the-fly when building packages |
157 |
# * For developers only |
# * For developers only |
158 |
# srcpkgtarball|!srcpkgtarball |
# srcpkgtarball|!srcpkgtarball |
159 |
# * let smage build the package from a src tarball .mpks |
# * Let smage build the package from a src tarball .mpks |
160 |
# * Do not touch this feature, for internal use only!! |
# * Do not touch this feature, for internal use only!! |
161 |
|
# static|!static |
162 |
|
# * Let mconfigure() enable or disable compilation of static libraries |
163 |
|
# * For developers only |
164 |
|
# stepbystep|!stepbystep |
165 |
|
# * Enables step-by-step execution of the smage-file for debugging |
166 |
|
# * Currently for src_pepare(), src_compile(), src_check(), src_install() functions |
167 |
|
# * For developers only |
168 |
# strip|!strip |
# strip|!strip |
169 |
# * Enables stripping to remove debugging symbols of resulting binaries |
# * Enables stripping to remove debugging symbols of resulting binaries |
170 |
# * For developers only |
# * For developers only |
173 |
# |
# |
174 |
# 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 |
175 |
# |
# |
176 |
MAGE_FEATURES_GLOBAL=( "autosvc" "buildlog" "ccache" "check" "compressdoc" "!debug" "!distcc" "kernelsrcunpack" "!libtool" "linuxsymlink" "pkgbuild" "purge" "!qalint" "regentree" "!srcpkgbuild" "!srcpkgtarball" "!stepbystep" "strip" "!verbose" ) |
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" ) |