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=""} |
38 |
MAGE_TREE_DEST="${MAGEDIR}" |
MAGE_TREE_DEST="${MAGEDIR}" |
39 |
|
|
40 |
# Arch specific options and build flags |
# Arch specific options and build flags |
41 |
ARCH="i686" |
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" |
47 |
|
|
48 |
|
# cross-compile host |
49 |
|
# set this only if you want to crosscompile |
50 |
|
# you need also a cross-compile toolchain installed |
51 |
|
#CTARGET="i486-pc-linux-gnu" |
52 |
|
|
53 |
# Strip options |
# Strip options |
54 |
STRIP_DYN_LIB="--strip-unneeded" |
STRIP_DYN_LIB="--strip-unneeded" |
55 |
STRIP_DYN_BIN="--strip-all" |
STRIP_DYN_BIN="--strip-all" |
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" |
65 |
# Purge targets |
# Purge targets |
66 |
# 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 |
67 |
# 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 |
68 |
PURGE_TARGETS=( usr/share/info/dir ) |
PURGE_TARGETS=( usr/share/info/dir usr/share/info/dir.gz ) |
69 |
|
|
70 |
# Distcc specific settings |
# Distcc specific settings |
71 |
#DISTCC_HOSTS="" |
#DISTCC_HOSTS="" |
76 |
# Default mirrors and download options |
# Default mirrors and download options |
77 |
MIRRORS="http://magellan-linux.de/magellan" |
MIRRORS="http://magellan-linux.de/magellan" |
78 |
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" |
79 |
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 " |
80 |
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/" |
81 |
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" |
82 |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
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-sources tarballs to /usr/src |
# * Automatically unpacks any kernel-source tarballs to /usr/src |
128 |
# libtool|!libtool |
# libtool|!libtool |
129 |
# * Includes .la libtool archives in builded packages, to remove them set !libtool |
# * Includes .la libtool archives in builded packages, to remove them set !libtool |
130 |
# * For developers only |
# * For developers only |
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 |
140 |
|
# pkgdistrotag|!pkgdistrotag |
141 |
|
# * Appends the distribution codename-tag to the builded packages |
142 |
|
# * Do not touch this feature, for internal use only!! |
143 |
|
# * For developers only |
144 |
# purge|!purge |
# purge|!purge |
145 |
# * Purges files specified by PURGE_TARGETS array from every package build |
# * Purges files specified by PURGE_TARGETS array from every package build |
146 |
# * 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 |
155 |
# * Automatically import packages in the mage-tree after building with smage |
# * Automatically import packages in the mage-tree after building with smage |
156 |
# * 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 |
157 |
# * For developers only |
# * For developers only |
158 |
# stepbystep|!stepbystep |
# resume|!resume |
159 |
# * Enables step-by-step execution of the smage-file for debugging |
# * resumes a build from the last successful step |
160 |
# * Currently for src_pepare(), src_compile(), src_check(), src_install() functions |
# * Do not touch this feature, for internal use only!! |
161 |
# * For developers only |
# * For developers only |
162 |
# srcpkgbuild|!srcpkgbuild |
# srcpkgbuild|!srcpkgbuild |
163 |
# * Enable this to create source-tarballs on-the-fly when building packages |
# * Enable this to create source-tarballs on-the-fly when building packages |
164 |
# * For developers only |
# * For developers only |
165 |
# srcpkgtarball|!srcpkgtarball |
# srcpkgtarball|!srcpkgtarball |
166 |
# * let smage build the package from a src tarball .mpks |
# * Let smage build the package from a src tarball .mpks |
167 |
# * Do not touch this feature, for internal use only!! |
# * Do not touch this feature, for internal use only!! |
168 |
|
# static|!static |
169 |
|
# * Let mconfigure() enable or disable compilation of static libraries |
170 |
|
# * For developers only |
171 |
|
# stepbystep|!stepbystep |
172 |
|
# * Enables step-by-step execution of the smage-file for debugging |
173 |
|
# * Currently for src_pepare(), src_compile(), src_check(), src_install() functions |
174 |
|
# * For developers only |
175 |
# strip|!strip |
# strip|!strip |
176 |
# * Enables stripping to remove debugging symbols of resulting binaries |
# * Enables stripping to remove debugging symbols of resulting binaries |
177 |
# * 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" "purge" "!qalint" "regentree" "!srcpkgbuild" "!srcpkgtarball" "!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" ) |