[6d0dbc3] | 1 | #####
|
---|
| 2 | #
|
---|
| 3 | # Configuration file for the BLFS module
|
---|
| 4 | #
|
---|
| 5 | # $Id$
|
---|
| 6 | #
|
---|
[f65d3cb] | 7 | # Set default envars used in the build scripts
|
---|
[6d0dbc3] | 8 | #
|
---|
| 9 | #####
|
---|
| 10 |
|
---|
[ecdc3b6] | 11 | #======== Common envars ==========
|
---|
[6d0dbc3] | 12 |
|
---|
| 13 | #--- The local repository for packages/file
|
---|
| 14 | # Any missing file will be downloaded and archived here,
|
---|
| 15 | # if the user has the right priviledges.
|
---|
| 16 | export SRC_ARCHIVE=$SRC_ARCHIVE
|
---|
| 17 |
|
---|
[f65d3cb] | 18 | #--- Server used if the file isn't found in SRC_ARCHIVE.
|
---|
[6d0dbc3] | 19 | # As a last resort, the file will dowloaded from upstream, if possible.
|
---|
| 20 | #
|
---|
| 21 | # The server path MUST be set as listed in
|
---|
| 22 | # http://www.linuxfromscratch.org/blfs/download.html
|
---|
| 23 | export FTP_SERVER=ftp://anduin.linuxfromscratch.org/BLFS/
|
---|
[f65d3cb] | 24 |
|
---|
| 25 |
|
---|
| 26 | #--- The sources directory.
|
---|
| 27 | # Full path to the top level directory where packages will be stored,
|
---|
| 28 | # unpacked, and compiled.
|
---|
| 29 | export SRC_DIR=$HOME/sources
|
---|
[ecdc3b6] | 30 |
|
---|
| 31 |
|
---|
| 32 | #======== Xorg7 envars ===========
|
---|
| 33 |
|
---|
| 34 | #--- Installation prefix
|
---|
| 35 | export XORG_PREFIX=/usr
|
---|
| 36 |
|
---|
| 37 | #--- Configure switches
|
---|
[0a1c668] | 38 | export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
|
---|
[ecdc3b6] | 39 |
|
---|
| 40 | #======== GNOME envars ===========
|
---|
| 41 |
|
---|
| 42 | #--- Installation prefix
|
---|
| 43 | export GNOME_PREFIX=/usr
|
---|
| 44 |
|
---|
| 45 | #--- If you want to install GNOME on a non standart prefix, uncomment
|
---|
| 46 | # the next export lines and edit it if needed.
|
---|
| 47 | # See also the GNOME Pre-installation Configuration HTML page for
|
---|
| 48 | # aditional required commands.
|
---|
| 49 | #export PATH=$PATH:$GNOME_PREFIX/bin
|
---|
| 50 | #export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$GNOME_PREFIX/lib/pkgconfig
|
---|
| 51 | #export GNOME_LIBCONFIG_PATH=/usr/lib:$GNOME_PREFIX/lib
|
---|
| 52 |
|
---|
| 53 | #======== KDE envars =============
|
---|
| 54 |
|
---|
| 55 | #--- Installation prefix
|
---|
| 56 | export KDE_PREFIX=/usr
|
---|
| 57 |
|
---|
| 58 | #--- If you want to install KDE on a non standart prefix, uncomment
|
---|
| 59 | # the next export lines and edit it if needed.
|
---|
| 60 | # See also the KDE Pre-installation Configuration HTML page for
|
---|
| 61 | # aditional required commands.
|
---|
| 62 | #export PATH=$PATH:$KDE_PREFIX/bin
|
---|
[0140fcc] | 63 | #export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDE_PREFIX/lib/pkgconfig
|
---|
[ecdc3b6] | 64 |
|
---|
| 65 |
|
---|
[fdd3b04] | 66 |
|
---|
| 67 | #======== Optimizations =============
|
---|
| 68 |
|
---|
| 69 | # Global optimization settings can be placed here. This settings can be
|
---|
| 70 | # overrided by settings in the packages build scripts.
|
---|
| 71 |
|
---|
| 72 | # WARNING: The use of build optimizations may be dangerous.
|
---|
| 73 | # You should know what you are doing and be sure that the
|
---|
| 74 | # optimization settings placed below are what you want.
|
---|
| 75 | # It there are build issues or the system doesn't work as
|
---|
| 76 | # expected, please rebuild without optimizations before
|
---|
| 77 | # asking for support.
|
---|
| 78 |
|
---|
| 79 | #MAKEFLAGS="-j3"
|
---|
| 80 |
|
---|
| 81 | #CFLAGS="-O3 -pipe"
|
---|
| 82 | #CXXFLAGS=$CFLAGS
|
---|
| 83 | #LDFLAGS="-s"
|
---|
| 84 |
|
---|
| 85 | #OTHER_CFLAGS=$CFLAGS
|
---|
| 86 | #OTHER_CXXFLAGS=$CXXFLAGS
|
---|
| 87 | #OTHER_LDFLAGS=$LDFLAGS
|
---|
| 88 |
|
---|